Support tailwindcss lsp for rust code (specialy Dioxus) #34869
iman-salmani
started this conversation in
Language Support
Replies: 1 comment
-
add these to zed project config "lsp": {
"tailwindcss-language-server": {
"settings": {
"includeLanguages": {
"rust": "html",
},
"emmetCompletions": false, // highly recommended, avoids completions pollution when you type a dot and more
"experimental": {
"classRegex": ["class:\\s*\"([^\"]*)"] // add regexes, this one is for your case (might need adjustment if you have " in your class strings
}
}
}
},
"languages": {
"Rust": {
"formatter": "language_server", // optional, this isn't related to tailwind
"language_servers": ["tailwindcss-language-server", "..."]
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want tailwind lsp features in Dioxus code. code looks like this:
Somebody working on it?
If not how can i do it? Just some configuration, an extension or make a commit?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions