Skip to content

lspeasy / core/src / listInstalledPluginServers

Function: listInstalledPluginServers()

ts
function listInstalledPluginServers(pluginsRoot?): Record<string, Record<string, LspServerEntry>>;

Defined in: packages/core/src/plugin-resolver.ts:60

Map every installed plugin's servers, keyed by <plugin>@<marketplace>. <marketplace> is the first path segment under the root; <plugin> is the directory directly containing the .lsp.json (handles flat and nested layouts). Each plugin's value is a record of server name (the outer key in .lsp.json) → entry.

Parameters

ParameterType
pluginsRootstring

Returns

Record<string, Record<string, LspServerEntry>>

Released under the MIT License.