Struct lsp_types::WorkspaceClientCapabilities
source · pub struct WorkspaceClientCapabilities {Show 14 fields
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>,
pub inline_value: Option<InlineValueWorkspaceClientCapabilities>,
pub inlay_hint: Option<InlayHintWorkspaceClientCapabilities>,
pub diagnostic: Option<DiagnosticWorkspaceClientCapabilities>,
}
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 requests 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
inline_value: Option<InlineValueWorkspaceClientCapabilities>
Client workspace capabilities specific to inline values.
@since 3.17.0
inlay_hint: Option<InlayHintWorkspaceClientCapabilities>
Client workspace capabilities specific to inlay hints.
@since 3.17.0
diagnostic: Option<DiagnosticWorkspaceClientCapabilities>
Client workspace capabilities specific to diagnostics. since 3.17.0
Trait Implementations§
source§impl Clone for WorkspaceClientCapabilities
impl Clone for WorkspaceClientCapabilities
source§fn clone(&self) -> WorkspaceClientCapabilities
fn clone(&self) -> WorkspaceClientCapabilities
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WorkspaceClientCapabilities
impl Debug for WorkspaceClientCapabilities
source§impl Default for WorkspaceClientCapabilities
impl Default for WorkspaceClientCapabilities
source§fn default() -> WorkspaceClientCapabilities
fn default() -> WorkspaceClientCapabilities
source§impl<'de> Deserialize<'de> for WorkspaceClientCapabilities
impl<'de> Deserialize<'de> for WorkspaceClientCapabilities
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 WorkspaceClientCapabilities
impl PartialEq for WorkspaceClientCapabilities
source§fn eq(&self, other: &WorkspaceClientCapabilities) -> bool
fn eq(&self, other: &WorkspaceClientCapabilities) -> bool
self
and other
values to be equal, and is used
by ==
.