@t1ckbase/vscode-langservers-extracted
v2.0.5
Published
Language servers extracted from VS Code for HTML, CSS, JSON, Markdown, and ESLint
Downloads
1,293
Maintainers
Readme
VSCode Langservers Extracted
A drop-in replacement for @hrsh7th's vscode-langservers-extracted, with special thanks for creating the original project.
The HTML, CSS, and JSON language servers are extracted from VS Code, while the ESLint language server is extracted from the VS Code ESLint extension. Markdown language server uses the official vscode-markdown-languageserver package.
vscode-markdown-language-server relies on the client to parse Markdown (markdown/parse), which most LSP clients do not implement. Using a dedicated alternative like Marksman is recommended.
Note that @zed-industries/vscode-langservers-extracted is tailored specifically for Zed and currently only includes the HTML language server.
Patches
- HTML language server:
- Fixed embedded JavaScript IntelliSense by replacing hardcoded TypeScript
libpath with runtime resolution. - Fixed Go to Definition by replacing VS Code's virtual TypeScript libs URI with
fileURI. - Fixed crash on missing
js/ts.implicitProjectConfigin generic clients. - Fixed crash on
nullCSS lint settings fromworkspace/configuration. (microsoft/vscode-html-languageservice#227, neovim/nvim-lspconfig#3393, zed-industries/zed#44874) - Updated
libtarget toESNext.
- Fixed embedded JavaScript IntelliSense by replacing hardcoded TypeScript
- CSS language server:
- Fixed crash on
nullCSS lint settings fromworkspace/configuration. (microsoft/vscode-html-languageservice#227, neovim/nvim-lspconfig#3393, zed-industries/zed#44874)
- Fixed crash on
Usage
Install globally with npm (or your preferred package manager):
npm i -g @t1ckbase/vscode-langservers-extractedThe following commands are available:
vscode-css-language-servervscode-eslint-language-servervscode-html-language-servervscode-json-language-servervscode-markdown-language-server
Third-Party Licenses
- microsoft/vscode: https://github.com/microsoft/vscode/blob/main/LICENSE.txt
- microsoft/vscode-eslint: https://github.com/microsoft/vscode-eslint/blob/main/License.txt
