You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The VSCode extension provides an LSP implementation but it's not published as a standalone project so I have to pull the code of both the VSCode extension and the server itself even though I only need the server part,
The VSCode extension is not published on npm and only publishes the source code on the repo. Since it's a TypeScript project it needs to be built + bundled and I couldn't find how to run npm commands that are async from the zed_extension_api 🤔
The fork contains the same code as the original repo + the built & bundled code so it can be downloaded by the zed extension to be used directly.
I've asked the repo of the VSCode extension if my fork was acceptable for them and if they plan on extracting the language server or at least publish the bundled code to npm so I don't have to maintain a fork (see stylelint/vscode-stylelint #623.
Are other users interested by this Extension? Add 👍 if you are!
Is the fact that the extension relies on a fork of a VSCode extension a blocker to make it official? Would be nice to get some input about that from someone at Zed Industries but it can be discussed in the PR.
Check for existing issues
Language
CSS, SCSS, css-in-js
Tree Sitter parser link
No response
Language server link
https://github.com/stylelint/vscode-stylelint
Misc notes
Context
I am currently working on a zed-stylelint extension.
The extension seems to work properly but I still consider it Work In Progress for several reasons:
css-in-js
mostly),npm
and only publishes the source code on the repo. Since it's a TypeScript project it needs to be built + bundled and I couldn't find how to run npm commands that are async from thezed_extension_api
🤔npm
so I don't have to maintain a fork (see stylelint/vscode-stylelint #623.It seems the Sublime text Stylelint extension also has the same strategy of bundling the VSCode extension code: https://github.com/sublimelsp/LSP-stylelint/tree/master/language-server
Questions
Other Zed users asking for Stylelint LSP
Couldn't find much but Stylelint was mentionned in zed-industrices/zed #5612
The text was updated successfully, but these errors were encountered: