Struct lsp_types::WorkspaceClientCapabilities[][src]

pub struct WorkspaceClientCapabilities {
    pub apply_edit: Option<bool>,
    pub workspace_edit: Option<WorkspaceEditClientCapabilities>,
    pub did_change_configuration: Option<DidChangeConfigurationClientCapabilities>,
    pub did_change_watched_files: Option<DidChangeWatchedFilesClientCapabilities>,
    pub symbol: Option<WorkspaceSymbolClientCapabilities>,
    pub execute_command: Option<ExecuteCommandClientCapabilities>,
    pub workspace_folders: Option<bool>,
    pub configuration: Option<bool>,
    pub semantic_tokens: Option<SemanticTokensWorkspaceClientCapabilities>,
    pub code_lens: Option<CodeLensWorkspaceClientCapabilities>,
    pub file_operations: Option<WorkspaceFileOperationsClientCapabilities>,
}
Expand description

Workspace specific client capabilities.

Fields

apply_edit: Option<bool>

The client supports applying batch edits to the workspace by supporting the request ‘workspace/applyEdit’

workspace_edit: Option<WorkspaceEditClientCapabilities>

Capabilities specific to WorkspaceEdits

did_change_configuration: Option<DidChangeConfigurationClientCapabilities>

Capabilities specific to the workspace/didChangeConfiguration notification.

did_change_watched_files: Option<DidChangeWatchedFilesClientCapabilities>

Capabilities specific to the workspace/didChangeWatchedFiles notification.

symbol: Option<WorkspaceSymbolClientCapabilities>

Capabilities specific to the workspace/symbol request.

execute_command: Option<ExecuteCommandClientCapabilities>

Capabilities specific to the workspace/executeCommand request.

workspace_folders: Option<bool>

The client has support for workspace folders. since 3.6.0

configuration: Option<bool>

The client supports workspace/configuration requests. since 3.6.0

semantic_tokens: Option<SemanticTokensWorkspaceClientCapabilities>

Capabilities specific to the semantic token requsts scoped to the workspace. since 3.16.0

code_lens: Option<CodeLensWorkspaceClientCapabilities>

Capabilities specific to the code lens requests scoped to the workspace. since 3.16.0

file_operations: Option<WorkspaceFileOperationsClientCapabilities>

The client has support for file requests/notifications. 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.