Install for Kate on GNU/Linux
1. Install prerequisites
Install Kate version 19 or newer.
2. Install quick-lint-js
-
Download the latest release of quick-lint-js for your platform:
Extract the downloaded archive.
-
Copy the extracted
quick-lint-js/bin/quick-lint-js
file into a directory in yourPATH
.For example, copy it into the
/usr/local/bin
directory. -
Open a terminal window. Type quick-lint-js --version and press enter to verify the installation succeeded.
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/"
}
}
}