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 a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.