1 type derived from ClientCapabilities
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Internal\VSInternalClientCapabilities.cs (1)
12
internal class VSInternalClientCapabilities :
ClientCapabilities
56 references to ClientCapabilities
Microsoft.CodeAnalysis.EditorFeatures (1)
ExternalAccess\VSTypeScript\Api\IVSTypeScriptCapabilitiesProvider.cs (1)
12
/// Returns the <see cref="
ClientCapabilities
"/> provided by typescript.
Microsoft.CodeAnalysis.LanguageServer.Protocol (54)
DefaultCapabilitiesProvider.cs (1)
46
public ServerCapabilities GetCapabilities(
ClientCapabilities
clientCapabilities)
Extensions\Extensions.cs (4)
190
public static bool HasVisualStudioLspCapability(this
ClientCapabilities
? clientCapabilities)
200
public static bool HasCompletionListDataCapability(this
ClientCapabilities
clientCapabilities)
210
public static bool HasCompletionListCommitCharactersCapability(this
ClientCapabilities
clientCapabilities)
240
private static bool TryGetVSCompletionListSetting(
ClientCapabilities
clientCapabilities, [NotNullWhen(returnValue: true)] out VSInternalCompletionListSetting? completionListSetting)
Handler\AbstractRefreshQueue.cs (3)
35
protected abstract bool? GetRefreshSupport(
ClientCapabilities
clientCapabilities);
52
public Task OnInitializedAsync(
ClientCapabilities
clientCapabilities, RequestContext context, CancellationToken cancellationToken)
58
public void Initialize(
ClientCapabilities
clientCapabilities)
Handler\CodeActions\CodeActionsHandler.cs (1)
57
var
clientCapability = context.GetRequiredClientCapabilities();
Handler\CodeLens\CodeLensRefreshQueue.cs (1)
31
protected override bool? GetRefreshSupport(
ClientCapabilities
clientCapabilities)
Handler\Completion\CompletionCapabilityHelper.cs (1)
32
public CompletionCapabilityHelper(
ClientCapabilities
clientCapabilities)
Handler\Configuration\DidChangeConfigurationNotificationHandler_OnInitialized.cs (1)
14
public async Task OnInitializedAsync(
ClientCapabilities
clientCapabilities, RequestContext context, CancellationToken cancellationToken)
Handler\Diagnostics\AbstractPullDiagnosticHandler.cs (3)
121
var
clientCapabilities = context.GetRequiredClientCapabilities();
279
ClientCapabilities
clientCapabilities)
314
private ImmutableArray<LSP.Diagnostic> ConvertDiagnostic(IDiagnosticSource diagnosticSource, DiagnosticData diagnosticData,
ClientCapabilities
capabilities)
Handler\Diagnostics\DiagnosticSourceProviders\DiagnosticSourceManager.cs (2)
48
public ImmutableArray<string> GetDocumentSourceProviderNames(
ClientCapabilities
clientCapabilities)
51
public ImmutableArray<string> GetWorkspaceSourceProviderNames(
ClientCapabilities
clientCapabilities)
Handler\Diagnostics\DiagnosticSourceProviders\DocumentSyntaxAndSemanticDiagnosticSourceProvider.cs (1)
23
public bool IsEnabled(
ClientCapabilities
clientCapabilities) => true;
Handler\Diagnostics\DiagnosticSourceProviders\IDiagnosticSourceManager.cs (2)
21
ImmutableArray<string> GetDocumentSourceProviderNames(
ClientCapabilities
clientCapabilities);
26
ImmutableArray<string> GetWorkspaceSourceProviderNames(
ClientCapabilities
clientCapabilities);
Handler\Diagnostics\DiagnosticSourceProviders\IDiagnosticSourceProvider.cs (1)
27
bool IsEnabled(
ClientCapabilities
clientCapabilities);
Handler\Diagnostics\DiagnosticSourceProviders\WorkspaceDocumentsAndProjectDiagnosticSourceProvider.cs (1)
32
public bool IsEnabled(
ClientCapabilities
clientCapabilities) => true;
Handler\Diagnostics\DiagnosticsRefreshQueue.cs (1)
102
protected override bool? GetRefreshSupport(
ClientCapabilities
clientCapabilities)
Handler\Diagnostics\Public\PublicDocumentNonLocalDiagnosticSourceProvider.cs (1)
30
public bool IsEnabled(
ClientCapabilities
clientCapabilities) => true;
Handler\Diagnostics\Public\PublicDocumentPullDiagnosticsHandler_IOnInitialized.cs (1)
19
public async Task OnInitializedAsync(
ClientCapabilities
clientCapabilities, RequestContext context, CancellationToken cancellationToken)
Handler\EditAndContinue\DocumentEditAndContinueDiagnosticSourceProvider.cs (1)
24
public bool IsEnabled(
ClientCapabilities
capabilities) => true;
Handler\EditAndContinue\WorkspaceEditAndContinueDiagnosticSourceProvider.cs (1)
25
public bool IsEnabled(
ClientCapabilities
capabilities) => true;
Handler\Hover\HoverHandler.cs (2)
45
var
clientCapabilities = context.GetRequiredClientCapabilities();
59
ClientCapabilities
clientCapabilities,
Handler\IInitializeManager.cs (2)
11
ClientCapabilities
GetClientCapabilities();
13
ClientCapabilities
? TryGetClientCapabilities();
Handler\InitializeManager.cs (3)
19
public
ClientCapabilities
GetClientCapabilities()
23
throw new InvalidOperationException($"Tried to get required {nameof(
ClientCapabilities
)} before it was set");
40
public
ClientCapabilities
? TryGetClientCapabilities()
Handler\InlayHint\InlayHintRefreshQueue.cs (1)
58
protected override bool? GetRefreshSupport(
ClientCapabilities
clientCapabilities)
Handler\References\FindAllReferencesHandler.cs (1)
64
var
clientCapabilities = context.GetRequiredClientCapabilities();
Handler\References\FindUsagesLSPContext.cs (1)
83
ClientCapabilities
clientCapabilities,
Handler\RequestContext.cs (5)
35
private readonly
ClientCapabilities
? _clientCapabilities;
173
ClientCapabilities
? clientCapabilities,
205
public
ClientCapabilities
GetRequiredClientCapabilities()
208
? throw new ArgumentNullException($"{nameof(
ClientCapabilities
)} is null when it was required for {Method}")
231
ClientCapabilities
? clientCapabilities,
Handler\RequestContextFactory.cs (1)
25
var
clientCapabilities = clientCapabilitiesManager.TryGetClientCapabilities();
Handler\SemanticTokens\SemanticTokensRefreshQueue.cs (1)
111
protected override bool? GetRefreshSupport(
ClientCapabilities
clientCapabilities) => clientCapabilities.Workspace?.SemanticTokens?.RefreshSupport;
Handler\ServerLifetime\InitializedHandler.cs (1)
24
var
clientCapabilities = requestContext.GetRequiredClientCapabilities();
Handler\ServerLifetime\InitializeHandler.cs (1)
27
var
clientCapabilities = clientCapabilitiesManager.TryGetClientCapabilities();
Handler\Symbols\DocumentSymbolsHandler.cs (1)
45
var
clientCapabilities = context.GetRequiredClientCapabilities();
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();
ICapabilitiesProvider.cs (1)
11
ServerCapabilities GetCapabilities(
ClientCapabilities
clientCapabilities);
IOnInitialized.cs (1)
14
Task OnInitializedAsync(
ClientCapabilities
clientCapabilities, RequestContext context, CancellationToken cancellationToken);
Protocol\InitializeParams.cs (1)
91
public
ClientCapabilities
Capabilities
Protocol\Internal\Converters\VSInternalExtensionUtilities.cs (1)
32
AddOrReplaceConverter<
ClientCapabilities
, VSInternalClientCapabilities>();
RoslynLanguageServer.cs (1)
162
public Task OnInitializedAsync(
ClientCapabilities
clientCapabilities, RequestContext context, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
SemanticTokens\SemanticTokensRangeTests.cs (1)
583
var
capabilities = GetCapabilities(isVS);