pub struct ServerCapabilities {Show 21 fields
pub text_document_sync: Option<TextDocumentSyncCapability>,
pub hover_provider: Option<bool>,
pub completion_provider: Option<CompletionOptions>,
pub signature_help_provider: Option<SignatureHelpOptions>,
pub definition_provider: Option<bool>,
pub type_definition_provider: Option<TypeDefinitionProviderCapability>,
pub implementation_provider: Option<ImplementationProviderCapability>,
pub references_provider: Option<bool>,
pub document_highlight_provider: Option<bool>,
pub document_symbol_provider: Option<bool>,
pub workspace_symbol_provider: Option<bool>,
pub code_action_provider: Option<CodeActionProviderCapability>,
pub code_lens_provider: Option<CodeLensOptions>,
pub document_formatting_provider: Option<bool>,
pub document_range_formatting_provider: Option<bool>,
pub document_on_type_formatting_provider: Option<DocumentOnTypeFormattingOptions>,
pub rename_provider: Option<RenameProviderCapability>,
pub color_provider: Option<ColorProviderCapability>,
pub folding_range_provider: Option<FoldingRangeProviderCapability>,
pub execute_command_provider: Option<ExecuteCommandOptions>,
pub workspace: Option<WorkspaceCapability>,
}
Fields§
§text_document_sync: Option<TextDocumentSyncCapability>
Defines how text documents are synced.
hover_provider: Option<bool>
The server provides hover support.
completion_provider: Option<CompletionOptions>
The server provides completion support.
signature_help_provider: Option<SignatureHelpOptions>
The server provides signature help support.
definition_provider: Option<bool>
The server provides goto definition support.
type_definition_provider: Option<TypeDefinitionProviderCapability>
The server provides goto type definition support.
implementation_provider: Option<ImplementationProviderCapability>
the server provides goto implementation support.
references_provider: Option<bool>
The server provides find references support.
document_highlight_provider: Option<bool>
The server provides document highlight support.
document_symbol_provider: Option<bool>
The server provides document symbol support.
workspace_symbol_provider: Option<bool>
The server provides workspace symbol support.
code_action_provider: Option<CodeActionProviderCapability>
The server provides code actions.
code_lens_provider: Option<CodeLensOptions>
The server provides code lens.
document_formatting_provider: Option<bool>
The server provides document formatting.
document_range_formatting_provider: Option<bool>
The server provides document range formatting.
document_on_type_formatting_provider: Option<DocumentOnTypeFormattingOptions>
The server provides document formatting on typing.
rename_provider: Option<RenameProviderCapability>
The server provides rename support.
color_provider: Option<ColorProviderCapability>
The server provides color provider support.
folding_range_provider: Option<FoldingRangeProviderCapability>
The server provides folding provider support.
execute_command_provider: Option<ExecuteCommandOptions>
The server provides execute command support.
workspace: Option<WorkspaceCapability>
Workspace specific server capabilities