15 references to HasVisualStudioLspCapability
Microsoft.CodeAnalysis.LanguageServer.Protocol (15)
DefaultCapabilitiesProvider.cs (2)
46
var supportsVsExtensions = clientCapabilities.
HasVisualStudioLspCapability
();
100
TokenTypes = [.. SemanticTokensSchema.GetSchema(clientCapabilities.
HasVisualStudioLspCapability
()).AllTokenTypes],
Handler\CodeActions\CodeActionsHandler.cs (1)
59
request, document, _codeFixService, _codeRefactoringService, hasVsLspCapability: clientCapability.
HasVisualStudioLspCapability
(), cancellationToken).ConfigureAwait(false);
Handler\Completion\CompletionCapabilityHelper.cs (1)
33
: this(supportsVSExtensions: clientCapabilities.
HasVisualStudioLspCapability
(),
Handler\Diagnostics\AbstractPullDiagnosticHandler.cs (1)
318
capabilities.
HasVisualStudioLspCapability
(),
Handler\Hover\HoverHandler.cs (2)
48
var supportsVSExtensions = clientCapabilities.
HasVisualStudioLspCapability
();
62
var supportsVSExtensions = clientCapabilities.
HasVisualStudioLspCapability
();
Handler\References\FindAllReferencesHandler.cs (1)
64
await FindReferencesAsync(progress, workspace, document, linePosition, clientCapabilities.
HasVisualStudioLspCapability
(), _globalOptions, _metadataAsSourceFileService, _asyncListener, cancellationToken).ConfigureAwait(false);
Handler\References\FindImplementationsHandler.cs (1)
40
var supportsVisualStudioExtensions = context.GetRequiredClientCapabilities().
HasVisualStudioLspCapability
();
Handler\SemanticTokens\SemanticTokensHelpers.cs (1)
42
var supportsVisualStudioExtensions = context.GetRequiredClientCapabilities().
HasVisualStudioLspCapability
();
Handler\SignatureHelp\SignatureHelpHandler.cs (1)
39
var supportsVisualStudioExtensions = context.GetRequiredClientCapabilities().
HasVisualStudioLspCapability
();
Handler\SourceGenerators\SourceGeneratorRefreshQueue.cs (1)
54
if (clientCapabilities.
HasVisualStudioLspCapability
())
Handler\Symbols\DocumentSymbolsHandler.cs (1)
47
var supportsVSExtensions = clientCapabilities.
HasVisualStudioLspCapability
();
Handler\Tasks\DocumentTaskDiagnosticSourceProvider.cs (1)
24
public bool IsEnabled(ClientCapabilities capabilities) => capabilities.
HasVisualStudioLspCapability
();
Handler\Tasks\WorkspaceTaskDiagnosticSourceProvider.cs (1)
27
public bool IsEnabled(ClientCapabilities capabilities) => capabilities.
HasVisualStudioLspCapability
();