-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tailwindcss language server #8442
Conversation
This is what works for me in helix master, with what I believe to be without any of the legacy things that were previously required in the config:
Requires the insiders build as mentioned in OP. |
I'd actually be inclined to merge this. While the user still needs to edit their language config to add the server to their language, this at least avoids having to add the server definition manually. |
Great! Please merge this. |
I've added the instructions to the wiki now, |
@pyrossh Cheers! You don't actually need the insiders version any more, I checked with the latest stable @tailwindcss/[email protected] and it is all working :) |
Ahh nice will update it. Thanks. |
EDIT I just saw #7080 .. arrghhh! Please could people still have a look at the questions I bring up here and we can get the other one merged! Also, we have started merging more language server definitions since multiple language servers arrived on the scene...
The following appears to work fine with this pull request, which is simply
tailwindcss-ls = { command = "tailwindcss-language-server", args = ["--stdio"] }
:input.css
(tailwind message)
(vscode-css-language-server message)
index.html
(tailwind auto-completion)
I followed this thread,, and it seems to be full of very outdated, complex, and redundant information. Passing language ID? Is any of that needed any more?
I have marked this as draft until someone confirms I have not missed something. The order you add the language server makes a difference, the first one gets the hover information when you press
space-k
, but the tailwind server seems 100% functional other than that feature, and you can get at the info in the auto complete anyway.