Struct languageserver_types::CompletionItemCapability [−][src]
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
impl Debug for CompletionItemCapability[src]
impl Debug for CompletionItemCapabilityfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for CompletionItemCapability[src]
impl Eq for CompletionItemCapabilityimpl PartialEq for CompletionItemCapability[src]
impl PartialEq for CompletionItemCapabilityfn eq(&self, other: &CompletionItemCapability) -> bool[src]
fn eq(&self, other: &CompletionItemCapability) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &CompletionItemCapability) -> bool[src]
fn ne(&self, other: &CompletionItemCapability) -> boolThis method tests for !=.
impl Default for CompletionItemCapability[src]
impl Default for CompletionItemCapabilityfn default() -> CompletionItemCapability[src]
fn default() -> CompletionItemCapabilityReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for CompletionItemCapability
impl Send for CompletionItemCapabilityimpl Sync for CompletionItemCapability
impl Sync for CompletionItemCapability