pub struct TextDocumentClientCapabilities {Show 21 fields
pub synchronization: Option<SynchronizationCapability>,
pub completion: Option<CompletionCapability>,
pub hover: Option<HoverCapability>,
pub signature_help: Option<SignatureHelpCapability>,
pub references: Option<GenericCapability>,
pub document_highlight: Option<GenericCapability>,
pub document_symbol: Option<DocumentSymbolCapability>,
pub formatting: Option<GenericCapability>,
pub range_formatting: Option<GenericCapability>,
pub on_type_formatting: Option<GenericCapability>,
pub declaration: Option<GotoCapability>,
pub definition: Option<GotoCapability>,
pub type_definition: Option<GotoCapability>,
pub implementation: Option<GotoCapability>,
pub code_action: Option<CodeActionCapability>,
pub code_lens: Option<GenericCapability>,
pub document_link: Option<GenericCapability>,
pub color_provider: Option<GenericCapability>,
pub rename: Option<RenameCapability>,
pub publish_diagnostics: Option<PublishDiagnosticsCapability>,
pub folding_range: Option<FoldingRangeCapability>,
}
Expand description
Text document specific client capabilities.
Fields§
§synchronization: Option<SynchronizationCapability>
§completion: Option<CompletionCapability>
Capabilities specific to the textDocument/completion
hover: Option<HoverCapability>
Capabilities specific to the textDocument/hover
signature_help: Option<SignatureHelpCapability>
Capabilities specific to the textDocument/signatureHelp
references: Option<GenericCapability>
Capabilities specific to the textDocument/references
document_highlight: Option<GenericCapability>
Capabilities specific to the textDocument/documentHighlight
document_symbol: Option<DocumentSymbolCapability>
Capabilities specific to the textDocument/documentSymbol
formatting: Option<GenericCapability>
Capabilities specific to the textDocument/formatting
range_formatting: Option<GenericCapability>
Capabilities specific to the textDocument/rangeFormatting
on_type_formatting: Option<GenericCapability>
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<CodeActionCapability>
Capabilities specific to the textDocument/codeAction
code_lens: Option<GenericCapability>
Capabilities specific to the textDocument/codeLens
document_link: Option<GenericCapability>
Capabilities specific to the textDocument/documentLink
color_provider: Option<GenericCapability>
Capabilities specific to the textDocument/documentColor
and the
textDocument/colorPresentation
request.
rename: Option<RenameCapability>
Capabilities specific to the textDocument/rename
publish_diagnostics: Option<PublishDiagnosticsCapability>
Capabilities specific to textDocument/publishDiagnostics
.
folding_range: Option<FoldingRangeCapability>
Capabilities specific to textDocument/foldingRange
requests.
Trait Implementations§
Source§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 ==
.