pub struct TextDocumentClientCapabilities {Show 30 fields
pub synchronization: Option<TextDocumentSyncClientCapabilities>,
pub completion: Option<CompletionClientCapabilities>,
pub hover: Option<HoverClientCapabilities>,
pub signature_help: Option<SignatureHelpClientCapabilities>,
pub references: Option<ReferenceClientCapabilities>,
pub document_highlight: Option<DocumentHighlightClientCapabilities>,
pub document_symbol: Option<DocumentSymbolClientCapabilities>,
pub formatting: Option<DocumentFormattingClientCapabilities>,
pub range_formatting: Option<DocumentRangeFormattingClientCapabilities>,
pub on_type_formatting: Option<DocumentOnTypeFormattingClientCapabilities>,
pub declaration: Option<GotoCapability>,
pub definition: Option<GotoCapability>,
pub type_definition: Option<GotoCapability>,
pub implementation: Option<GotoCapability>,
pub code_action: Option<CodeActionClientCapabilities>,
pub code_lens: Option<CodeLensClientCapabilities>,
pub document_link: Option<DocumentLinkClientCapabilities>,
pub color_provider: Option<DocumentColorClientCapabilities>,
pub rename: Option<RenameClientCapabilities>,
pub publish_diagnostics: Option<PublishDiagnosticsClientCapabilities>,
pub folding_range: Option<FoldingRangeClientCapabilities>,
pub selection_range: Option<SelectionRangeClientCapabilities>,
pub linked_editing_range: Option<LinkedEditingRangeClientCapabilities>,
pub call_hierarchy: Option<CallHierarchyClientCapabilities>,
pub semantic_tokens: Option<SemanticTokensClientCapabilities>,
pub moniker: Option<MonikerClientCapabilities>,
pub type_hierarchy: Option<TypeHierarchyClientCapabilities>,
pub inline_value: Option<InlineValueClientCapabilities>,
pub inlay_hint: Option<InlayHintClientCapabilities>,
pub diagnostic: Option<DiagnosticClientCapabilities>,
}
Expand description
Text document specific client capabilities.
Fields§
§synchronization: Option<TextDocumentSyncClientCapabilities>
§completion: Option<CompletionClientCapabilities>
Capabilities specific to the textDocument/completion
hover: Option<HoverClientCapabilities>
Capabilities specific to the textDocument/hover
signature_help: Option<SignatureHelpClientCapabilities>
Capabilities specific to the textDocument/signatureHelp
references: Option<ReferenceClientCapabilities>
Capabilities specific to the textDocument/references
document_highlight: Option<DocumentHighlightClientCapabilities>
Capabilities specific to the textDocument/documentHighlight
document_symbol: Option<DocumentSymbolClientCapabilities>
Capabilities specific to the textDocument/documentSymbol
formatting: Option<DocumentFormattingClientCapabilities>
Capabilities specific to the textDocument/formatting
range_formatting: Option<DocumentRangeFormattingClientCapabilities>
Capabilities specific to the textDocument/rangeFormatting
on_type_formatting: Option<DocumentOnTypeFormattingClientCapabilities>
Capabilities specific to the textDocument/onTypeFormatting
declaration: Option<GotoCapability>
Capabilities specific to the textDocument/declaration
definition: Option<GotoCapability>
Capabilities specific to the textDocument/definition
type_definition: Option<GotoCapability>
Capabilities specific to the textDocument/typeDefinition
implementation: Option<GotoCapability>
Capabilities specific to the textDocument/implementation
code_action: Option<CodeActionClientCapabilities>
Capabilities specific to the textDocument/codeAction
code_lens: Option<CodeLensClientCapabilities>
Capabilities specific to the textDocument/codeLens
document_link: Option<DocumentLinkClientCapabilities>
Capabilities specific to the textDocument/documentLink
color_provider: Option<DocumentColorClientCapabilities>
Capabilities specific to the textDocument/documentColor
and the
textDocument/colorPresentation
request.
rename: Option<RenameClientCapabilities>
Capabilities specific to the textDocument/rename
publish_diagnostics: Option<PublishDiagnosticsClientCapabilities>
Capabilities specific to textDocument/publishDiagnostics
.
folding_range: Option<FoldingRangeClientCapabilities>
Capabilities specific to textDocument/foldingRange
requests.
selection_range: Option<SelectionRangeClientCapabilities>
Capabilities specific to the textDocument/selectionRange
request.
@since 3.15.0
linked_editing_range: Option<LinkedEditingRangeClientCapabilities>
Capabilities specific to textDocument/linkedEditingRange
requests.
@since 3.16.0
call_hierarchy: Option<CallHierarchyClientCapabilities>
Capabilities specific to the various call hierarchy requests.
@since 3.16.0
semantic_tokens: Option<SemanticTokensClientCapabilities>
Capabilities specific to the textDocument/semanticTokens/*
requests.
moniker: Option<MonikerClientCapabilities>
Capabilities specific to the textDocument/moniker
request.
@since 3.16.0
type_hierarchy: Option<TypeHierarchyClientCapabilities>
Capabilities specific to the various type hierarchy requests.
@since 3.17.0
inline_value: Option<InlineValueClientCapabilities>
Capabilities specific to the textDocument/inlineValue
request.
@since 3.17.0
inlay_hint: Option<InlayHintClientCapabilities>
Capabilities specific to the textDocument/inlayHint
request.
@since 3.17.0
diagnostic: Option<DiagnosticClientCapabilities>
Capabilities specific to the diagnostic pull model.
@since 3.17.0
Trait Implementations§
source§impl Clone for TextDocumentClientCapabilities
impl Clone for TextDocumentClientCapabilities
source§fn clone(&self) -> TextDocumentClientCapabilities
fn clone(&self) -> TextDocumentClientCapabilities
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TextDocumentClientCapabilities
impl Default for TextDocumentClientCapabilities
source§fn default() -> TextDocumentClientCapabilities
fn default() -> TextDocumentClientCapabilities
source§impl<'de> Deserialize<'de> for TextDocumentClientCapabilities
impl<'de> Deserialize<'de> for TextDocumentClientCapabilities
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl PartialEq for TextDocumentClientCapabilities
impl PartialEq for TextDocumentClientCapabilities
source§fn eq(&self, other: &TextDocumentClientCapabilities) -> bool
fn eq(&self, other: &TextDocumentClientCapabilities) -> bool
self
and other
values to be equal, and is used
by ==
.