2 instantiations of VSInternalInlineCompletionList
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\InlineCompletions\InlineCompletionsHandler.cs (1)
115return new VSInternalInlineCompletionList { Items = [item] };
Microsoft.VisualStudio.LanguageServices.Razor (1)
LanguageClient\Cohost\CohostInlineCompletionEndpoint.cs (1)
108return new VSInternalInlineCompletionList { Items = [result] };
15 references to VSInternalInlineCompletionList
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Handler\InlineCompletions\InlineCompletionsHandler.cs (2)
35internal sealed partial class InlineCompletionsHandler : ILspServiceDocumentRequestHandler<VSInternalInlineCompletionRequest, VSInternalInlineCompletionList?> 104public async Task<VSInternalInlineCompletionList?> HandleRequestAsync(VSInternalInlineCompletionRequest request, RequestContext context, CancellationToken cancellationToken)
Protocol\Internal\VSInternalMethods.cs (1)
57public static readonly LspRequest<VSInternalInlineCompletionRequest, VSInternalInlineCompletionList> TextDocumentInlineCompletion = new(TextDocumentInlineCompletionName);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (5)
InlineCompletions\InlineCompletionsTests.cs (5)
225var result = await GetInlineCompletionsAsync(testLspServer, locationTyped, new LSP.FormattingOptions { InsertSpaces = true, TabSize = 4 }); 245var result = await GetInlineCompletionsAsync(testLspServer, locationTyped, options ?? new LSP.FormattingOptions { InsertSpaces = true, TabSize = 4 }); 256private static async Task<LSP.VSInternalInlineCompletionList> GetInlineCompletionsAsync( 273var response = await testLspServer.ExecuteRequestAsync<LSP.VSInternalInlineCompletionRequest, LSP.VSInternalInlineCompletionList>(
Microsoft.VisualStudio.LanguageServices.Razor (6)
LanguageClient\Cohost\CohostInlineCompletionEndpoint.cs (6)
32: AbstractCohostDocumentEndpoint<VSInternalInlineCompletionRequest, VSInternalInlineCompletionList?>(incompatibleProjectService), IDynamicRegistrationProvider 58protected override Task<VSInternalInlineCompletionList?> HandleRequestAsync(VSInternalInlineCompletionRequest request, TextDocument razorDocument, CancellationToken cancellationToken) 59=> Assumed.Unreachable<Task<VSInternalInlineCompletionList?>>("This method has to exist because its base is abstract, but it should never be called."); 61protected override Task<VSInternalInlineCompletionList?> HandleRequestAsync(VSInternalInlineCompletionRequest request, RazorCohostRequestContext context, TextDocument razorDocument, CancellationToken cancellationToken) 64private async Task<VSInternalInlineCompletionList?> HandleRequestAsync(RazorCohostRequestContext? context, TextDocument razorDocument, LinePosition linePosition, FormattingOptions formattingOptions, CancellationToken cancellationToken) 115public Task<VSInternalInlineCompletionList?> HandleRequestAsync(TextDocument razorDocument, LinePosition position, FormattingOptions formattingOptions, CancellationToken cancellationToken)
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (1)
Cohost\CohostInlineCompletionEndpointTest.cs (1)
89var list = await endpoint.GetTestAccessor().HandleRequestAsync(document, position, ClientSettingsManager.GetClientSettings().ToRazorFormattingOptions().ToLspFormattingOptions(), DisposalToken);