Struct lsp2::WorkspaceClientCapabilities
pub struct WorkspaceClientCapabilities {Show 14 fields
pub apply_edit: Option<bool>,
pub workspace_edit: Option<WorkspaceEditClientCapabilities>,
pub did_change_configuration: Option<DynamicRegistrationClientCapabilities>,
pub did_change_watched_files: Option<DidChangeWatchedFilesClientCapabilities>,
pub symbol: Option<WorkspaceSymbolClientCapabilities>,
pub execute_command: Option<DynamicRegistrationClientCapabilities>,
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<DynamicRegistrationClientCapabilities>
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<DynamicRegistrationClientCapabilities>
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§
§impl Clone for WorkspaceClientCapabilities
impl Clone for WorkspaceClientCapabilities
§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 more§impl Debug for WorkspaceClientCapabilities
impl Debug for WorkspaceClientCapabilities
§impl Default for WorkspaceClientCapabilities
impl Default for WorkspaceClientCapabilities
§fn default() -> WorkspaceClientCapabilities
fn default() -> WorkspaceClientCapabilities
§impl<'de> Deserialize<'de> for WorkspaceClientCapabilities
impl<'de> Deserialize<'de> for WorkspaceClientCapabilities
§fn deserialize<__D>(
__deserializer: __D
) -> Result<WorkspaceClientCapabilities, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<WorkspaceClientCapabilities, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
§impl PartialEq<WorkspaceClientCapabilities> for WorkspaceClientCapabilities
impl PartialEq<WorkspaceClientCapabilities> for WorkspaceClientCapabilities
§fn eq(&self, other: &WorkspaceClientCapabilities) -> bool
fn eq(&self, other: &WorkspaceClientCapabilities) -> bool
self
and other
values to be equal, and is used
by ==
.§impl Serialize for WorkspaceClientCapabilities
impl Serialize for WorkspaceClientCapabilities
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.