llllvvuu-glspc
v0.1.12
Published
Generic LSP Client for VS Code
Downloads
5
Readme
Generic LSP Client for VSCode
For the rare instances where you have an LSP Server but not an LSP Client for VSCode.
Marketplace Link
Setup
Configure the server executable under "Extension Settings".
"Failed to start server: spawn {command} ENOENT"
If there is a $PATH issue, you have a few options:
- Run
code .
from a terminal in which the command is available in $PATH. - Set PATH in
glspc.environmentVariables
under "Extension Settings".
Tracing
You can enable tracing by adding "glspc.trace.server": "verbose"
to your settings.json
and then checking the "Generic LSP Client" output.
Multiple LSP Servers
This extension is currently only able to register one language server. If necessary, you can to build multiple copies of this extension:
vi package.json # change the "name", "displayName", and "description" fields
# also find/replace "Generic LSP Client"
npm install
npm run package
Then you can load it into VSCode under Extensions > ... > Install from VSIX...
See Also
- mattn/efm-langserver - Adapter for any command-line tool to LSP.
- llllvvuu/efm-tool-definitions.yaml - Configuration presets for the above.
Credits
- torokati44/vscode-glspc - where this is forked from
- Matts966/efm-langserver-vscode - where the text changed handlers are taken from