pub struct CompletionItemCapability {
pub snippet_support: Option<bool>,
pub commit_characters_support: Option<bool>,
pub documentation_format: Option<Vec<MarkupKind>>,
pub deprecated_support: Option<bool>,
pub preselect_support: Option<bool>,
}
Fields§
§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.
commit_characters_support: Option<bool>
Client supports commit characters on a completion item.
documentation_format: Option<Vec<MarkupKind>>
Client supports the follow content formats for the documentation property. The order describes the preferred format of the client.
deprecated_support: Option<bool>
Client supports the deprecated property on a completion item.
preselect_support: Option<bool>
Client supports the preselect property on a completion item.
Trait Implementations§
source§impl Debug for CompletionItemCapability
impl Debug for CompletionItemCapability
source§impl Default for CompletionItemCapability
impl Default for CompletionItemCapability
source§fn default() -> CompletionItemCapability
fn default() -> CompletionItemCapability
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CompletionItemCapability
impl<'de> Deserialize<'de> for CompletionItemCapability
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>,
Deserialize this value from the given Serde deserializer. Read more