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
What version of Tailwind CSS IntelliSense are you using?
For example: v0.10.5
What version of Tailwind CSS are you using?
For example: v3.1.8
What package manager are you using?
For example: npm
What operating system are you using?
For example: Linux devcontainer, client is running macOS
Tailwind config
VS Code settings
Reproduction URL
Describe your issue
When opening a regular .ts file in my workspace, color hinting with the default VSCode color picker works for a few seconds. Then it stops working. If I disable the Tailwind CSS IntelliSense extension it doesn't stop working, so it probably has to do with the color decorator/picker in this extension. I've tried setting "tailwindCSS.colorDecorators": false but that doesn't change the behavior. The problem is not present in .less files, but it is present in both .ts and .js files.
Here is a file with which I can reproduce this behavior:
Same issue i am also facing enabling the extension it hides the color picker and disabling the tailwind vscode extension the color picker is back in .ts or .js file
It seems VSCode handles this on it's own now? I can see when I do a window reload that first VSCode adds in the color picker and then the extension comes in and kills it.
Not a problem when the extension is disabled but then I get no intellisense or color picker on tailwind classes in views/components.
Same if I leave the extension disabled and just use the setting "tailwindCSS.files.exclude": ["tailwind.config.js"]. It works to let VSCode put in the color picker but then the intellisense and colors in components is gone again.
What version of VS Code are you using?
For example: v1.88.1
What version of Tailwind CSS IntelliSense are you using?
For example: v0.10.5
What version of Tailwind CSS are you using?
For example: v3.1.8
What package manager are you using?
For example: npm
What operating system are you using?
For example: Linux devcontainer, client is running macOS
Tailwind config
VS Code settings
Reproduction URL
Describe your issue
When opening a regular
.ts
file in my workspace, color hinting with the default VSCode color picker works for a few seconds. Then it stops working. If I disable the Tailwind CSS IntelliSense extension it doesn't stop working, so it probably has to do with the color decorator/picker in this extension. I've tried setting"tailwindCSS.colorDecorators": false
but that doesn't change the behavior. The problem is not present in.less
files, but it is present in both.ts
and.js
files.Here is a file with which I can reproduce this behavior:
Here is the behavior I'm seeing after reloading the window (color picker disappears 18 seconds in):
Skarminspelning.2024-05-03.kl.08.22.52.mov
The text was updated successfully, but these errors were encountered: