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

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.

Client supports commit characters on a completion item.

Client supports the follow content formats for the documentation property. The order describes the preferred format of the client.

Client supports the deprecated property on a completion item.

Client supports the preselect property on a completion item.

Trait Implementations

impl Debug for CompletionItemCapability
[src]

Formats the value using the given formatter. Read more

impl Eq for CompletionItemCapability
[src]

impl PartialEq for CompletionItemCapability
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for CompletionItemCapability
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations