[IntelliSense] Underline detected Tailwind class names #14627
Replies: 4 comments 2 replies
-
find a vscode extension named |
Beta Was this translation helpful? Give feedback.
-
What I did on a project was to add UnoCSS extension and unocss config to .gitignore and I just mirrored the tailwind configuration in unoconfig. It works for some advanced usecases too, but if you have complex rules or overrides, the effort in translating that to UnoCSS config just isn't worth it. tldr; UnoCSS extension is good out of the box with just empty unoconfig file. Manageable with simple tailwind configuration. With complex rules you won't get highlights for those. |
Beta Was this translation helpful? Give feedback.
-
yeop this underline feature of unocss is so nice to have... |
Beta Was this translation helpful? Give feedback.
-
Could be nice also to help to migrate old projects to tailwindcss |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Tailwind CSS IntelliSense offers a better DX compared to the UnoCSS counterpart. However, when we're typing class names, the UnoCSS extension underlines known classes as soon as the name is complete; like this:
I think it'd be a good, little, opt-in feature to also have in Tailwind CSS IntelliSense.
Beta Was this translation helpful? Give feedback.
All reactions