pub struct TypeScriptPlugin;Expand description
TypeScript / JavaScript language plugin — typescript-language-server + tsconfig.json / package.json.
Trait Implementations§
Source§impl LanguagePlugin for TypeScriptPlugin
impl LanguagePlugin for TypeScriptPlugin
Source§fn language_id(&self) -> &'static str
fn language_id(&self) -> &'static str
Short identifier used as a map key (e.g.,
"rust", "go", "typescript", "python").Source§fn file_extensions(&self) -> &'static [&'static str]
fn file_extensions(&self) -> &'static [&'static str]
File extensions that this language handles. Read more
Source§fn marker_files(&self) -> &'static [&'static str]
fn marker_files(&self) -> &'static [&'static str]
Marker files that indicate this language is used in the workspace. Read more
Source§fn marker_search_depth(&self) -> u32
fn marker_search_depth(&self) -> u32
Maximum directory depth to search for marker files. Read more
Source§fn lsp_candidates(&self) -> &[LspCandidate]
fn lsp_candidates(&self) -> &[LspCandidate]
LSP binary candidates in preference order. Read more
Source§fn install_hint(&self) -> &'static str
fn install_hint(&self) -> &'static str
Human-readable install guidance when no LSP binary is found.
Auto Trait Implementations§
impl Freeze for TypeScriptPlugin
impl RefUnwindSafe for TypeScriptPlugin
impl Send for TypeScriptPlugin
impl Sync for TypeScriptPlugin
impl Unpin for TypeScriptPlugin
impl UnsafeUnpin for TypeScriptPlugin
impl UnwindSafe for TypeScriptPlugin
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
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