Struct lsp_types::CompletionOptions [−][src]
Completion options.
Fields
resolve_provider: Option<bool>
The server provides support to resolve additional information for a completion item.
trigger_characters: Option<Vec<String>>
Most tools trigger completion request automatically without explicitly
requesting it using a keyboard shortcut (e.g. Ctrl+Space). Typically they
do so when the user starts to type an identifier. For example if the user
types c
in a JavaScript file code complete will automatically pop up
present console
besides others as a completion item. Characters that
make up identifiers don't need to be listed here.
If code complete should automatically be trigger on characters not being
valid inside an identifier (for example .
in JavaScript) list them in
triggerCharacters
.
all_commit_characters: Option<Vec<String>>
The list of all possible characters that commit a completion. This field
can be used if clients don't support individual commit characters per
completion item. See client capability
completion.completionItem.commitCharactersSupport
.
If a server provides both allCommitCharacters
and commit characters on
an individual completion item the ones on the completion item win.
@since 3.2.0
work_done_progress_options: WorkDoneProgressOptions
Trait Implementations
impl Clone for CompletionOptions
[src]
fn clone(&self) -> CompletionOptions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CompletionOptions
[src]
impl Default for CompletionOptions
[src]
fn default() -> CompletionOptions
[src]
impl<'de> Deserialize<'de> for CompletionOptions
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for CompletionOptions
[src]
impl PartialEq<CompletionOptions> for CompletionOptions
[src]
fn eq(&self, other: &CompletionOptions) -> bool
[src]
fn ne(&self, other: &CompletionOptions) -> bool
[src]
impl Serialize for CompletionOptions
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for CompletionOptions
[src]
impl StructuralPartialEq for CompletionOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for CompletionOptions
[src]
impl Send for CompletionOptions
[src]
impl Sync for CompletionOptions
[src]
impl Unpin for CompletionOptions
[src]
impl UnwindSafe for CompletionOptions
[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>,