1 instantiation of DocumentOnTypeFormattingParams
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Formatting\FormatDocumentOnTypeTests.cs (1)
125=> new LSP.DocumentOnTypeFormattingParams()
9 references to DocumentOnTypeFormattingParams
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Handler\Formatting\FormatDocumentOnTypeHandler.cs (3)
21internal sealed class FormatDocumentOnTypeHandler : ILspServiceDocumentRequestHandler<DocumentOnTypeFormattingParams, TextEdit[]?> 35public TextDocumentIdentifier GetTextDocumentIdentifier(DocumentOnTypeFormattingParams request) => request.TextDocument; 38DocumentOnTypeFormattingParams request,
Protocol\Methods.Document.cs (1)
564public static readonly LspRequest<DocumentOnTypeFormattingParams, TextEdit[]?> TextDocumentOnTypeFormatting = new(TextDocumentOnTypeFormattingName);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
Formatting\FormatDocumentOnTypeTests.cs (2)
112var results = await testLspServer.ExecuteRequestAsync<LSP.DocumentOnTypeFormattingParams, LSP.TextEdit[]>( 120private static LSP.DocumentOnTypeFormattingParams CreateDocumentOnTypeFormattingParams(
Microsoft.VisualStudio.LanguageServices.Xaml (3)
Implementation\LanguageServer\Handler\Formatting\FormatDocumentOnTypeHandler.cs (3)
21internal sealed class FormatDocumentOnTypeHandler : ILspServiceRequestHandler<DocumentOnTypeFormattingParams, TextEdit[]> 32public TextDocumentIdentifier GetTextDocumentIdentifier(DocumentOnTypeFormattingParams request) => request.TextDocument; 34public async Task<TextEdit[]> HandleRequestAsync(DocumentOnTypeFormattingParams request, RequestContext context, CancellationToken cancellationToken)