[][src]Struct lsp_types::CompletionItemCapability

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>,
    pub tag_support: Option<TagSupport<CompletionItemTag>>,
}

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.

tag_support: Option<TagSupport<CompletionItemTag>>

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

impl Clone for CompletionItemCapability[src]

impl Debug for CompletionItemCapability[src]

impl Default for CompletionItemCapability[src]

impl<'de> Deserialize<'de> for CompletionItemCapability[src]

impl Eq for CompletionItemCapability[src]

impl PartialEq<CompletionItemCapability> for CompletionItemCapability[src]

impl Serialize for CompletionItemCapability[src]

impl StructuralEq for CompletionItemCapability[src]

impl StructuralPartialEq for CompletionItemCapability[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.