Install for Kate on Debian/Ubuntu
Supported operating systems:
1. Install prerequisites
Install Kate version 19 or newer.
2. Install quick-lint-js
Open a terminal, and run the following commands:
curl https://c.quick-lint-js.com/quick-lint-js-release.key | sudo apt-key add - printf '\n# From: https://quick-lint-js.com/install/kate/debian/\ndeb [arch=amd64,arm64] https://c.quick-lint-js.com/debian experimental main\n' | sudo tee /etc/apt/sources.list.d/quick-lint-js.list sudo apt-get update sudo apt-get install quick-lint-js
3. Configure Kate
Open the LSP Client tab in Kate's settings. In your User Server Settings, paste the following configuration:
{
"servers": {
"javascript": {
"command": ["quick-lint-js", "--lsp-server"],
"documentLanguageId": true,
"highlightingModeRegex": "^JavaScript.*$",
"root": "",
"url": "https://quick-lint-js.com/install/kate/"
}
}
}