pub struct ManagedNodeLs {
pub ls_id: &'static str,
pub tool_dir: &'static str,
pub packages: &'static [(&'static str, &'static str)],
pub entry_rel: &'static [&'static str],
pub required_rel: &'static [&'static [&'static str]],
}Expand description
A node-run language server MUR pre-installs under <tools>/<tool_dir>/ <pin>/ and launches as [node, <entry .js>] (#1945, #1981). One row
per server; setup’s npm installer, the config writer and C7 all read
this table, so adding a server is adding a row.
Fields§
§ls_id: &'static strserena’s ls_specific_settings key.
tool_dir: &'static strDirectory under <mur_home>/tools/.
packages: &'static [(&'static str, &'static str)](npm package, exact version), installed together. The first is
the server itself; its version names the install dir.
entry_rel: &'static [&'static str]The server’s bin target, relative to the install dir.
required_rel: &'static [&'static [&'static str]]Further files, relative to the install dir, an install is not
complete without. Vue’s .bin shims: serena execs them, and
without this a verified-but-shimless install could never be
repaired by re-running setup (#1998 review).
Implementations§
Source§impl ManagedNodeLs
impl ManagedNodeLs
Trait Implementations§
Source§impl Clone for ManagedNodeLs
impl Clone for ManagedNodeLs
impl Copy for ManagedNodeLs
Source§impl Debug for ManagedNodeLs
impl Debug for ManagedNodeLs
impl Eq for ManagedNodeLs
Source§impl PartialEq for ManagedNodeLs
impl PartialEq for ManagedNodeLs
impl StructuralPartialEq for ManagedNodeLs
Auto Trait Implementations§
impl Freeze for ManagedNodeLs
impl RefUnwindSafe for ManagedNodeLs
impl Send for ManagedNodeLs
impl Sync for ManagedNodeLs
impl Unpin for ManagedNodeLs
impl UnsafeUnpin for ManagedNodeLs
impl UnwindSafe for ManagedNodeLs
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<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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.