tailwindcss-intellisense
tailwindcss-intellisense copied to clipboard
Add color format options (rgb, hex)
Formats are displayed in completions and as comments in hovered css. This helps with comparing code to designs.
This is basically an up to date version of #416 and fixes #418.
Makes it trivial to add more color formats going forward if people need them.
Settings:
Completions:
Hovers:
I would absolutely LOVE this!
Any feedback would be much appreciated @bradlc!
Any update? Bump. This is really needed feature.
I don't understand why this feature is shown here (README) even though it doesn't exist.
Or is there a hidden configuration option?
I took the latest version (0.10.0) of this extension, applied this PR, and published it as a new vscode extension. I don't plan on maintaining it long term but my team couldn't wait any longer for this feature. Thought I'd post it here in case it helps anyone else.
https://marketplace.visualstudio.com/items?itemName=numso.vscode-tailwindcss-with-hex-colors
(aside: wouldn't it be amazing if you could use https://www.npmjs.com/package/patch-package on vscode extensions??)
mark
Very helpful
@thecrypticace Hope to merge this PR, it's very helpful
When will this be merged?
+1, we need this please!!
Someone merge the PR, please
@flostellbrink resolve the conflicts please 🙏 UP!
Unfortunately a rebase is out of the questions at the moment. I need to test the changes, and master has been broken for three weeks straight now.
Either way I have no reason to believe anyone at tailwind actually wants this. Only leaving the PR open to avoid duplicate work.
Hey, I'm going to be adding support for this but in a slightly different form. I think we can get rid of the color format option as well as simplify some things.
We're working on v4 right now but I expect I'll pick this back up possibly next week unless I happen to get to it sooner.
This has been merged and should be available in the pre-release build shortly. Thanks!