4 instantiations of VSInternalDocumentOnAutoInsertResponseItem
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Handler\OnAutoInsert\OnAutoInsertHandler.cs (3)
150return new LSP.VSInternalDocumentOnAutoInsertResponseItem 215var autoInsertChange = new LSP.VSInternalDocumentOnAutoInsertResponseItem 313return new LSP.VSInternalDocumentOnAutoInsertResponseItem
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\LanguageServer\Handler\OnAutoInsert\OnAutoInsertHandler.cs (1)
64return new VSInternalDocumentOnAutoInsertResponseItem
21 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 (13)
Handler\OnAutoInsert\OnAutoInsertHandler.cs (12)
35IGlobalOptionService globalOptions) : ILspServiceDocumentRequestHandler<LSP.VSInternalDocumentOnAutoInsertParams, LSP.VSInternalDocumentOnAutoInsertResponseItem?> 45public Task<LSP.VSInternalDocumentOnAutoInsertResponseItem?> HandleRequestAsync( 52return SpecializedTasks.Null<LSP.VSInternalDocumentOnAutoInsertResponseItem>(); 56return SpecializedTasks.Null<LSP.VSInternalDocumentOnAutoInsertResponseItem>(); 69internal static async Task<LSP.VSInternalDocumentOnAutoInsertResponseItem?> GetOnAutoInsertResponseAsync( 89var documentationCommentResponse = await GetDocumentationCommentResponseAsync( 109var braceCompletionAfterReturnResponse = await GetBraceCompletionAfterReturnResponseAsync( 120var rawStringResponse = await GetRawStringLiteralResponseAsync(document, linePosition, cancellationToken).ConfigureAwait(false); 130private static async Task<LSP.VSInternalDocumentOnAutoInsertResponseItem?> GetDocumentationCommentResponseAsync( 161private static async Task<LSP.VSInternalDocumentOnAutoInsertResponseItem?> GetBraceCompletionAfterReturnResponseAsync( 215var autoInsertChange = new LSP.VSInternalDocumentOnAutoInsertResponseItem 276private static async Task<LSP.VSInternalDocumentOnAutoInsertResponseItem?> GetRawStringLiteralResponseAsync(
Protocol\Internal\VSInternalMethods.cs (1)
31public static readonly LspRequest<VSInternalDocumentOnAutoInsertParams, VSInternalDocumentOnAutoInsertResponseItem> OnAutoInsert = new(OnAutoInsertName);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (5)
OnAutoInsert\AbstractOnAutoInsertTests.cs (4)
53var result = await RunOnAutoInsertAsync(testLspServer, characterTyped, locationTyped, insertSpaces, tabSize); 79var result = await RunOnAutoInsertAsync(testLspServer, characterTyped, locationTyped, insertSpaces, tabSize); 84private protected static async Task<LSP.VSInternalDocumentOnAutoInsertResponseItem?> RunOnAutoInsertAsync( 91return await testLspServer.ExecuteRequestAsync<LSP.VSInternalDocumentOnAutoInsertParams, LSP.VSInternalDocumentOnAutoInsertResponseItem?>(VSInternalMethods.OnAutoInsertName,
OnAutoInsert\RawStringOnAutoInsertTests.cs (1)
220var result = await RunOnAutoInsertAsync(testLspServer, characterTyped, locationTyped, insertSpaces: true, tabSize: 4);
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)