pub struct ServerCapabilities {
pub inner: ServerCapabilities,
}
Expand description
LSP server capabilities wrapper.
Fields§
§inner: ServerCapabilities
Implementations§
Source§impl ServerCapabilities
impl ServerCapabilities
Sourcepub fn new(capabilities: ServerCapabilities) -> Self
pub fn new(capabilities: ServerCapabilities) -> Self
Create new server capabilities.
Sourcepub fn supports_text_document_sync(&self) -> bool
pub fn supports_text_document_sync(&self) -> bool
Check if the server supports text document synchronization.
Sourcepub fn supports_completion(&self) -> bool
pub fn supports_completion(&self) -> bool
Check if the server supports completion.
Sourcepub fn supports_hover(&self) -> bool
pub fn supports_hover(&self) -> bool
Check if the server supports hover.
Sourcepub fn supports_signature_help(&self) -> bool
pub fn supports_signature_help(&self) -> bool
Check if the server supports signature help.
Sourcepub fn supports_definition(&self) -> bool
pub fn supports_definition(&self) -> bool
Check if the server supports go to definition.
Sourcepub fn supports_type_definition(&self) -> bool
pub fn supports_type_definition(&self) -> bool
Check if the server supports go to type definition.
Sourcepub fn supports_implementation(&self) -> bool
pub fn supports_implementation(&self) -> bool
Check if the server supports go to implementation.
Sourcepub fn supports_references(&self) -> bool
pub fn supports_references(&self) -> bool
Check if the server supports find references.
Sourcepub fn supports_document_highlight(&self) -> bool
pub fn supports_document_highlight(&self) -> bool
Check if the server supports document highlighting.
Sourcepub fn supports_document_symbol(&self) -> bool
pub fn supports_document_symbol(&self) -> bool
Check if the server supports document symbols.
Sourcepub fn supports_code_action(&self) -> bool
pub fn supports_code_action(&self) -> bool
Check if the server supports code actions.
Sourcepub fn supports_code_lens(&self) -> bool
pub fn supports_code_lens(&self) -> bool
Check if the server supports code lens.
Sourcepub fn supports_document_formatting(&self) -> bool
pub fn supports_document_formatting(&self) -> bool
Check if the server supports document formatting.
Sourcepub fn supports_document_range_formatting(&self) -> bool
pub fn supports_document_range_formatting(&self) -> bool
Check if the server supports document range formatting.
Sourcepub fn supports_document_on_type_formatting(&self) -> bool
pub fn supports_document_on_type_formatting(&self) -> bool
Check if the server supports document on type formatting.
Sourcepub fn supports_rename(&self) -> bool
pub fn supports_rename(&self) -> bool
Check if the server supports rename.
Sourcepub fn supports_workspace_symbol(&self) -> bool
pub fn supports_workspace_symbol(&self) -> bool
Check if the server supports workspace symbols.
Sourcepub fn supports_execute_command(&self) -> bool
pub fn supports_execute_command(&self) -> bool
Check if the server supports execute command.
Sourcepub fn completion_trigger_characters(&self) -> Vec<String>
pub fn completion_trigger_characters(&self) -> Vec<String>
Get completion trigger characters.
Sourcepub fn signature_help_trigger_characters(&self) -> Vec<String>
pub fn signature_help_trigger_characters(&self) -> Vec<String>
Get signature help trigger characters.
Trait Implementations§
Source§impl Clone for ServerCapabilities
impl Clone for ServerCapabilities
Source§fn clone(&self) -> ServerCapabilities
fn clone(&self) -> ServerCapabilities
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more