Generic LSP Client for VSCode
For the rare instances where you have an LSP Server but not an LSP Client for VSCode.
Configure the server executable under "Extension Settings".
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".
You can enable tracing by adding "glspc.trace.server": "verbose"
to your settings.json
and then checking the "Generic LSP Client" output.
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...
- mattn/efm-langserver - Adapter for any command-line tool to LSP.
- llllvvuu/efm-tool-definitions.yaml - Configuration presets for the above.
- torokati44/vscode-glspc - where this is forked from
- Matts966/efm-langserver-vscode - where the text changed handlers are taken from