Struct lsp_types::WorkspaceClientCapabilities
source · 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§
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 ==
.impl Eq for WorkspaceClientCapabilities
impl StructuralEq for WorkspaceClientCapabilities
impl StructuralPartialEq for WorkspaceClientCapabilities
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.