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 WorkspaceEdit
s
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 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 RefUnwindSafe for WorkspaceClientCapabilities
impl Send for WorkspaceClientCapabilities
impl Sync for WorkspaceClientCapabilities
impl Unpin for WorkspaceClientCapabilities
impl UnwindSafe for WorkspaceClientCapabilities
Blanket Implementations
Mutably borrows from an owned value. Read more