6 references to TextDocument
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Extensions\Extensions.cs (1)
248
var textDocumentCapability = vsClientCapabilities.
TextDocument
;
Handler\Completion\CompletionCapabilityHelper.cs (1)
34
completionSetting: clientCapabilities.
TextDocument
?.Completion)
Handler\Diagnostics\Public\PublicDocumentPullDiagnosticsHandler_IOnInitialized.cs (1)
22
if (clientCapabilities?.
TextDocument
?.Diagnostic?.DynamicRegistration is true)
Handler\Hover\HoverHandler.cs (2)
49
var supportsMarkdown = clientCapabilities?.
TextDocument
?.Hover?.ContentFormat?.Contains(MarkupKind.Markdown) == true;
63
var supportsMarkdown = clientCapabilities?.
TextDocument
?.Hover?.ContentFormat?.Contains(MarkupKind.Markdown) == true;
Handler\Symbols\DocumentSymbolsHandler.cs (1)
46
var useHierarchicalSymbols = clientCapabilities.
TextDocument
?.DocumentSymbol?.HierarchicalDocumentSymbolSupport == true || request.UseHierarchicalSymbols;