pub struct FeaturesConfig {Show 24 fields
pub completion: bool,
pub hover: bool,
pub definition: bool,
pub declaration: bool,
pub references: bool,
pub document_symbols: bool,
pub workspace_symbols: bool,
pub rename: bool,
pub signature_help: bool,
pub inlay_hints: bool,
pub semantic_tokens: bool,
pub selection_range: bool,
pub call_hierarchy: bool,
pub document_highlight: bool,
pub implementation: bool,
pub code_action: bool,
pub type_definition: bool,
pub code_lens: bool,
pub formatting: bool,
pub range_formatting: bool,
pub on_type_formatting: bool,
pub document_link: bool,
pub linked_editing_range: bool,
pub inline_values: bool,
}Expand description
Per-feature capability toggles. All default to true (enabled).
Set initializationOptions.features.<name> = false to suppress a capability.
Fields§
§completion: bool§hover: bool§definition: bool§declaration: bool§references: bool§document_symbols: bool§workspace_symbols: bool§rename: bool§signature_help: bool§inlay_hints: bool§semantic_tokens: bool§selection_range: bool§call_hierarchy: bool§document_highlight: bool§implementation: bool§code_action: bool§type_definition: bool§code_lens: bool§formatting: bool§range_formatting: bool§on_type_formatting: bool§document_link: bool§linked_editing_range: bool§inline_values: boolTrait Implementations§
Source§impl Clone for FeaturesConfig
impl Clone for FeaturesConfig
Source§fn clone(&self) -> FeaturesConfig
fn clone(&self) -> FeaturesConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FeaturesConfig
impl Debug for FeaturesConfig
Auto Trait Implementations§
impl Freeze for FeaturesConfig
impl RefUnwindSafe for FeaturesConfig
impl Send for FeaturesConfig
impl Sync for FeaturesConfig
impl Unpin for FeaturesConfig
impl UnsafeUnpin for FeaturesConfig
impl UnwindSafe for FeaturesConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more