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
Source§impl PartialEq for CompletionItemCapability
impl PartialEq for CompletionItemCapability
Source§impl Serialize for CompletionItemCapability
impl Serialize for CompletionItemCapability
impl Eq for CompletionItemCapability
impl StructuralPartialEq for CompletionItemCapability
Auto Trait Implementations§
impl Freeze for CompletionItemCapability
impl RefUnwindSafe for CompletionItemCapability
impl Send for CompletionItemCapability
impl Sync for CompletionItemCapability
impl Unpin for CompletionItemCapability
impl UnwindSafe for CompletionItemCapability
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more