BBEdit docs https://www.barebones.com/support/bbedit/lsp-notes.html
Volta https://docs.volta.sh/reference/
curl https://get.volta.sh | bash -s -- --skip-setup
The rest assumes "$VOLTA_HOME/bin"
is in $path
for non-interactive shell.
Set up default "global" node. This is used by default. It is overridden by volta
in projects where volta pin
or equivalent package.json
configs are set.
cd
volta install node
volta install \
bash-language-server \
typescript \
typescript-language-server \
vls \
vscode-css-languageserver-bin \
vscode-html-languageserver-bin \
vscode-json-languageserver \
yaml-language-server
List the versions of the installed tools
rg --no-filename \
--max-count 2 \
--no-line-number \
-o '"(name|version)": ".+?"' \
~/.volta/tools/image/packages/*/lib/node_modules/*/package.json
Compare with latest
npm info typescript-language-server version
npm info typescript version
npm info vls
Upgrade by running volta install
again for the outdated tools.
tail -f ~/Library/Containers/com.barebones.bbedit/Data/Library/Logs/BBEdit/*.txt
See also https://www.barebones.com/support/bbedit/lsp-notes.html#trouble