Struct lsp_types::TextDocumentClientCapabilities [−][src]
pub struct TextDocumentClientCapabilities {Show 26 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>,
}
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
Trait Implementations
Returns the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for TextDocumentClientCapabilities
impl Sync for TextDocumentClientCapabilities
impl Unpin for TextDocumentClientCapabilities
impl UnwindSafe for TextDocumentClientCapabilities
Blanket Implementations
Mutably borrows from an owned value. Read more