pub struct CompletionClientCapabilitiesCompletionItem {
pub commit_characters_support: Option<bool>,
pub deprecated_support: Option<bool>,
pub documentation_format: Option<Vec<MarkupKind>>,
pub insert_replace_support: Option<bool>,
pub insert_text_mode_support: Option<CompletionClientCapabilitiesCompletionItemInsertTextModeSupport>,
pub preselect_support: Option<bool>,
pub resolve_support: Option<CompletionClientCapabilitiesCompletionItemResolveSupport>,
pub snippet_support: Option<bool>,
pub tag_support: Option<CompletionClientCapabilitiesCompletionItemTagSupport>,
}Fields§
§commit_characters_support: Option<bool>Client supports commit characters on a completion item.
deprecated_support: Option<bool>Client supports the deprecated property on a completion item.
documentation_format: Option<Vec<MarkupKind>>Client supports the following content formats for the documentation property. The order describes the preferred format of the client.
insert_replace_support: Option<bool>Client supports insert replace edit to control different behavior if a completion item is inserted in the text or should replace text.
insert_text_mode_support: Option<CompletionClientCapabilitiesCompletionItemInsertTextModeSupport>The client supports the insertTextMode property on a completion item to override the
whitespace handling mode as defined by the client.
preselect_support: Option<bool>Client supports the preselect property on a completion item.
resolve_support: Option<CompletionClientCapabilitiesCompletionItemResolveSupport>Indicates which properties a client can resolve lazily on a completion item. Before version
3.16.0 only the predefined properties documentation and detail could be resolved
lazily.
snippet_support: Option<bool>Client supports snippets as insert text.
A snippet can define tab stops and placeholders with $1, $2 and ${3:foo}. $0
defines the final tab stop, it defaults to the end of the snippet. Placeholders with equal
identifiers are linked, that is typing in one will update others too.
tag_support: Option<CompletionClientCapabilitiesCompletionItemTagSupport>Client supports the tag property on a completion item. Clients supporting tags have to handle unknown tags gracefully. Clients especially need to preserve unknown tags when sending a completion item back to the server in a resolve call.
Trait Implementations§
Source§impl Clone for CompletionClientCapabilitiesCompletionItem
impl Clone for CompletionClientCapabilitiesCompletionItem
Source§fn clone(&self) -> CompletionClientCapabilitiesCompletionItem
fn clone(&self) -> CompletionClientCapabilitiesCompletionItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for CompletionClientCapabilitiesCompletionItem
impl Default for CompletionClientCapabilitiesCompletionItem
Source§fn default() -> CompletionClientCapabilitiesCompletionItem
fn default() -> CompletionClientCapabilitiesCompletionItem
Source§impl<'de> Deserialize<'de> for CompletionClientCapabilitiesCompletionItem
impl<'de> Deserialize<'de> for CompletionClientCapabilitiesCompletionItem
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 CompletionClientCapabilitiesCompletionItem
impl PartialEq for CompletionClientCapabilitiesCompletionItem
Source§fn eq(&self, other: &CompletionClientCapabilitiesCompletionItem) -> bool
fn eq(&self, other: &CompletionClientCapabilitiesCompletionItem) -> bool
self and other values to be equal, and is used by ==.