3 instantiations of VSInternalDocumentOnAutoInsertResponseItem
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\OnAutoInsert\OnAutoInsertHandler.cs (2)
139return new LSP.VSInternalDocumentOnAutoInsertResponseItem 204var autoInsertChange = new LSP.VSInternalDocumentOnAutoInsertResponseItem
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\LanguageServer\Handler\OnAutoInsert\OnAutoInsertHandler.cs (1)
64return new VSInternalDocumentOnAutoInsertResponseItem
18 references to VSInternalDocumentOnAutoInsertResponseItem
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
Cohost\Handlers\OnAutoInsert.cs (1)
20public static Task<VSInternalDocumentOnAutoInsertResponseItem?> GetOnAutoInsertResponseAsync(Document document, LinePosition linePosition, string character, FormattingOptions formattingOptions, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.LanguageServer.Protocol (11)
Handler\OnAutoInsert\OnAutoInsertHandler.cs (10)
34IGlobalOptionService globalOptions) : ILspServiceDocumentRequestHandler<LSP.VSInternalDocumentOnAutoInsertParams, LSP.VSInternalDocumentOnAutoInsertResponseItem?> 44public Task<LSP.VSInternalDocumentOnAutoInsertResponseItem?> HandleRequestAsync( 51return SpecializedTasks.Null<LSP.VSInternalDocumentOnAutoInsertResponseItem>(); 55return SpecializedTasks.Null<LSP.VSInternalDocumentOnAutoInsertResponseItem>(); 68internal static async Task<LSP.VSInternalDocumentOnAutoInsertResponseItem?> GetOnAutoInsertResponseAsync( 88var documentationCommentResponse = await GetDocumentationCommentResponseAsync( 108var braceCompletionAfterReturnResponse = await GetBraceCompletionAfterReturnResponseAsync( 119private static async Task<LSP.VSInternalDocumentOnAutoInsertResponseItem?> GetDocumentationCommentResponseAsync( 150private static async Task<LSP.VSInternalDocumentOnAutoInsertResponseItem?> GetBraceCompletionAfterReturnResponseAsync( 204var autoInsertChange = new LSP.VSInternalDocumentOnAutoInsertResponseItem
Protocol\Internal\VSInternalMethods.cs (1)
31public static readonly LspRequest<VSInternalDocumentOnAutoInsertParams, VSInternalDocumentOnAutoInsertResponseItem> OnAutoInsert = new(OnAutoInsertName);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (4)
OnAutoInsert\OnAutoInsertTests.cs (4)
413var result = await RunOnAutoInsertAsync(testLspServer, characterTyped, locationTyped, insertSpaces, tabSize); 439var result = await RunOnAutoInsertAsync(testLspServer, characterTyped, locationTyped, insertSpaces, tabSize); 444private static async Task<LSP.VSInternalDocumentOnAutoInsertResponseItem?> RunOnAutoInsertAsync( 451return await testLspServer.ExecuteRequestAsync<LSP.VSInternalDocumentOnAutoInsertParams, LSP.VSInternalDocumentOnAutoInsertResponseItem?>(VSInternalMethods.OnAutoInsertName,
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Implementation\LanguageServer\Handler\OnAutoInsert\OnAutoInsertHandler.cs (2)
20internal sealed class OnAutoInsertHandler : ILspServiceRequestHandler<VSInternalDocumentOnAutoInsertParams, VSInternalDocumentOnAutoInsertResponseItem?> 33public async Task<VSInternalDocumentOnAutoInsertResponseItem?> HandleRequestAsync(VSInternalDocumentOnAutoInsertParams request, RequestContext context, CancellationToken cancellationToken)