3 implementations of GetFormattingChangesAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Formatting\CSharpFormattingInteractionService.cs (1)
76public Task<ImmutableArray<TextChange>> GetFormattingChangesAsync(
Microsoft.CodeAnalysis.EditorFeatures (1)
ExternalAccess\VSTypeScript\VSTypeScriptFormattingInteractionService.cs (1)
33public Task<ImmutableArray<TextChange>> GetFormattingChangesAsync(Document document, ITextBuffer textBuffer, TextSpan? textSpan, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Internal\Editor\FSharpEditorFormattingService.cs (1)
79async Task<ImmutableArray<TextChange>> IFormattingInteractionService.GetFormattingChangesAsync(Document document, ITextBuffer textBuffer, TextSpan? textSpan, CancellationToken cancellationToken)
2 references to GetFormattingChangesAsync
Microsoft.CodeAnalysis.EditorFeatures (2)
Formatting\FormatCommandHandler.cs (1)
76var changes = await formattingService.GetFormattingChangesAsync(
IntelliSense\AsyncCompletion\CommitManager.cs (1)
322var changes = formattingService.GetFormattingChangesAsync(currentDocument, subjectBuffer, spanToFormat.Span.ToTextSpan(), cancellationToken).WaitAndGetResult(cancellationToken);