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