1 instantiation of DocumentOnTypeFormattingParams
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Formatting\FormatDocumentOnTypeTests.cs (1)
188
=>
new
()
6 references to DocumentOnTypeFormattingParams
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Handler\Formatting\FormatDocumentOnTypeHandler.cs (3)
23
internal sealed class FormatDocumentOnTypeHandler : ILspServiceDocumentRequestHandler<
DocumentOnTypeFormattingParams
, TextEdit[]?>
37
public TextDocumentIdentifier GetTextDocumentIdentifier(
DocumentOnTypeFormattingParams
request) => request.TextDocument;
40
DocumentOnTypeFormattingParams
request,
Protocol\Methods.Document.cs (1)
564
public static readonly LspRequest<
DocumentOnTypeFormattingParams
, TextEdit[]?> TextDocumentOnTypeFormatting = new(TextDocumentOnTypeFormattingName);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
Formatting\FormatDocumentOnTypeTests.cs (2)
175
var results = await testLspServer.ExecuteRequestAsync<LSP.
DocumentOnTypeFormattingParams
, LSP.TextEdit[]>(
183
private static LSP.
DocumentOnTypeFormattingParams
CreateDocumentOnTypeFormattingParams(