3 implementations of IFormattingInteractionService
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Formatting\CSharpFormattingInteractionService.cs (1)
24internal sealed class CSharpFormattingInteractionService(EditorOptionsService editorOptionsService) : IFormattingInteractionService
Microsoft.CodeAnalysis.EditorFeatures (1)
ExternalAccess\VSTypeScript\VSTypeScriptFormattingInteractionService.cs (1)
21internal sealed class VSTypeScriptFormattingInteractionService(IVSTypeScriptFormattingInteractionService implementation) : IFormattingInteractionService
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Internal\Editor\FSharpEditorFormattingService.cs (1)
23internal class FSharpEditorFormattingService : IFormattingInteractionService
19 references to IFormattingInteractionService
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Formatting\CSharpFormattingInteractionService.cs (1)
21[ExportLanguageService(typeof(IFormattingInteractionService), LanguageNames.CSharp), Shared]
Microsoft.CodeAnalysis.EditorFeatures (13)
ExternalAccess\VSTypeScript\VSTypeScriptFormattingInteractionService.cs (1)
18[ExportLanguageService(typeof(IFormattingInteractionService), InternalLanguageNames.TypeScript), Shared]
Formatting\FormatCommandHandler.cs (4)
73var formattingService = document.GetRequiredLanguageService<IFormattingInteractionService>(); 138var service = document.GetLanguageService<IFormattingInteractionService>();
Formatting\FormatCommandHandler.FormatDocument.cs (2)
30var formattingService = document.GetLanguageService<IFormattingInteractionService>();
Formatting\FormatCommandHandler.FormatSelection.cs (2)
36var formattingService = document.GetLanguageService<IFormattingInteractionService>();
Formatting\FormatCommandHandler.Paste.cs (2)
71var formattingService = document.GetLanguageService<IFormattingInteractionService>();
IntelliSense\AsyncCompletion\CommitManager.cs (2)
315var formattingService = currentDocument?.GetRequiredLanguageService<IFormattingInteractionService>();
Microsoft.CodeAnalysis.ExternalAccess.FSharp (5)
Internal\Editor\FSharpEditorFormattingService.cs (5)
22[ExportLanguageService(typeof(IFormattingInteractionService), LanguageNames.FSharp)] 79async Task<ImmutableArray<TextChange>> IFormattingInteractionService.GetFormattingChangesAsync(Document document, ITextBuffer textBuffer, TextSpan? textSpan, CancellationToken cancellationToken) 85async Task<ImmutableArray<TextChange>> IFormattingInteractionService.GetFormattingChangesAsync(Document document, ITextBuffer textBuffer, char typedChar, int position, CancellationToken cancellationToken) 91async Task<ImmutableArray<TextChange>> IFormattingInteractionService.GetFormattingChangesOnPasteAsync(Document document, ITextBuffer textBuffer, TextSpan textSpan, CancellationToken cancellationToken) 97async Task<ImmutableArray<TextChange>> IFormattingInteractionService.GetFormattingChangesOnReturnAsync(Document document, int position, CancellationToken cancellationToken)