Registered Member
|
Hi,
I read, that Kate can help us writing code or configuration files with LSP. shellcheck is a nice little tool too and curl for the next step.
BASH was my first LSP target and I read there is a standard written in JavaScript. Having always manoeuvred around it was time to face it, but as little as possible. The smallest install I found, was this:
node = I don't know -g = on the command line or something, install it "globally" Node.js LTS (v18.x) will install Node.js 18.x and npm:
After the heavy lifting of nodeJS, it just needs a simple: Bash Language Server - https://github.com/bash-lsp/bash-language-server
After 2 hours this was done and I was happy, BUT I need a LSP for HTML and YAML-config too. HTML - vscode-html-languageservice - https://github.com/microsoft/vscode-htm ... ageservice
And this where I got stuck I have done the install, but Kate throws errors at me, it cannot find the server. BASH-LSP runs fine, what is missing? |
Registered Member
|
What do you use the "-s" option for?
In Debian, "npm" is included: apt show npm With this, "npm i -g bash-language-server" installs the data under: /usr/local/lib/node_modules/bash-language-server
The Social Credit System is a credit rating and blacklist being developed by the the ruling Chinese Communist Party. The goal is total control of the population by awarding points for desirable behavior, or withdrawing them for negative behavior.
|
Registered Member
|
What do you use the "-s" option for? I guess you refer to that,
Node.js LTS (v18.x) will install Node.js 18.x and npm
Sorry, I don`t understand. After 2 hours this was done and I was happy, BUT I need a LSP for HTML and YAML-config too. HTML - vscode-html-languageservice - https://github.com/microsoft/vscode-htm ... ageservice what is missing? to get HTML and YAML-config too. |
Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]