pub enum Disabled {
Show 28 variants
Shapes,
UndefinedPrefix,
UnusedPrefix,
NamespaceProperties,
SyntaxDiagnostics,
Completion,
CompletionKeyword,
CompletionClass,
CompletionProperty,
CompletionPrefix,
CompletionSubject,
Hover,
HoverType,
HoverClass,
HoverProperty,
HoverExcludedProperty,
GotoDefinition,
GotoDefinitionComponentsJs,
GotoTypeDefinition,
References,
Rename,
SemanticTokens,
Format,
PrefixAutoInsert,
CodeAction,
CodeActionOrganizeImports,
CodeActionBlankNodeRefactor,
InlayHint,
}Variants§
Shapes
UndefinedPrefix
Diagnostic for predicate/object IRIs that use an undeclared prefix.
UnusedPrefix
Diagnostic for prefixes that are declared but never used.
NamespaceProperties
Diagnostic for properties under a closed_namespaces namespace that are
not known to the ontology and not in allowed_properties.
SyntaxDiagnostics
Diagnostic for syntax/parse errors.
Completion
Master switch: disables textDocument/completion entirely (and stops
advertising the capability). See also the completion_* variants below
to disable individual completion sources while keeping completion on.
CompletionKeyword
Keyword completion (e.g. @prefix, @context).
CompletionClass
RDF class-name completion (e.g. after a /rdf:type).
CompletionProperty
RDF property/predicate-name completion.
CompletionPrefix
Prefix-name completion sourced from bundled LOV / prefix.cc data (also inserts the matching declaration).
CompletionSubject
Subject-IRI completion that reuses subjects already used in the document (Turtle only).
Hover
Master switch: disables textDocument/hover entirely (and stops
advertising the capability). See also the hover_* variants below to
disable individual hover sources while keeping hover on.
HoverType
Hover showing the inferred RDF type(s) of the term under the cursor.
HoverClass
Hover showing ontology documentation for an RDF class IRI.
HoverProperty
Hover showing ontology documentation for a property/predicate IRI.
HoverExcludedProperty
Hover explanation shown for a property that is only accepted because it
is in the user’s allowed_properties allow-list.
GotoDefinition
Master switch: disables textDocument/definition entirely (and stops
advertising the capability). Covers generic RDF term goto-definition.
GotoDefinitionComponentsJs
Components.js-specific goto-definition: resolves component/module/ parameter IRIs and import/context URLs to their source file.
GotoTypeDefinition
References
Rename
SemanticTokens
Format
PrefixAutoInsert
Auto-inserts the missing prefix/context declaration while typing
prefix: (formerly named on_type_format).
CodeAction
Master switch: disables textDocument/codeAction entirely (and stops
advertising the capability). The “add missing prefix” and “allow
property” quick-fixes are controlled by their respective diagnostic
toggles (Disabled::UndefinedPrefix, Disabled::NamespaceProperties)
instead, since they only make sense alongside their diagnostic.
CodeActionOrganizeImports
“Organize Imports” quick-fix that sorts @prefix declarations (Turtle).
CodeActionBlankNodeRefactor
“Extract blank node” / “Inline named blank node” quick-fixes.
InlayHint
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Disabled
impl<'de> Deserialize<'de> for Disabled
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>,
Source§impl Ord for Disabled
impl Ord for Disabled
Source§impl PartialOrd for Disabled
impl PartialOrd for Disabled
impl Copy for Disabled
impl Eq for Disabled
impl StructuralPartialEq for Disabled
Auto Trait Implementations§
impl Freeze for Disabled
impl RefUnwindSafe for Disabled
impl Send for Disabled
impl Sync for Disabled
impl Unpin for Disabled
impl UnsafeUnpin for Disabled
impl UnwindSafe for Disabled
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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>
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>
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