[−][src]Struct lsp_types::CompletionItemCapability
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.
insert_replace_support: Option<bool>
Client support insert replace edit to control different behavior if a completion item is inserted in the text or should replace text.
@since 3.16.0
resolve_support: Option<CompletionItemCapabilityResolveSupport>
Indicates which properties a client can resolve lazily on a completion
item. Before version 3.16.0 only the predefined properties documentation
and details
could be resolved lazily.
@since 3.16.0
insert_text_mode_support: Option<InsertTextModeSupport>
The client supports the insertTextMode
property on
a completion item to override the whitespace handling mode
as defined by the client (see insertTextMode
).
@since 3.16.0
Trait Implementations
impl Clone for CompletionItemCapability
[src]
pub fn clone(&self) -> CompletionItemCapability
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CompletionItemCapability
[src]
impl Default for CompletionItemCapability
[src]
pub fn default() -> CompletionItemCapability
[src]
impl<'de> Deserialize<'de> for CompletionItemCapability
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for CompletionItemCapability
[src]
impl PartialEq<CompletionItemCapability> for CompletionItemCapability
[src]
pub fn eq(&self, other: &CompletionItemCapability) -> bool
[src]
pub fn ne(&self, other: &CompletionItemCapability) -> bool
[src]
impl Serialize for CompletionItemCapability
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for CompletionItemCapability
[src]
impl StructuralPartialEq for CompletionItemCapability
[src]
Auto Trait Implementations
impl RefUnwindSafe for CompletionItemCapability
[src]
impl Send for CompletionItemCapability
[src]
impl Sync for CompletionItemCapability
[src]
impl Unpin for CompletionItemCapability
[src]
impl UnwindSafe for CompletionItemCapability
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,