Replies: 5 comments 4 replies
-
Beta Was this translation helpful? Give feedback.
-
Similar past issues with colour decorations not appearing: tailwindlabs/tailwindcss-intellisense#728, tailwindlabs/tailwindcss-intellisense#750. Though this issue seems instead to have to do with changes made in VS Code 1.78 (see https://code.visualstudio.com/updates/v1_78#_standalone-color-picker) Potentially related on Stack Overflow:
Both those users in the above linked questions are using version 0.9.11 of this extension with VS Code 1.78.0. |
Beta Was this translation helpful? Give feedback.
-
Not really sure what to do here 🤔 As far as I can tell there's no way to have extension-provided colour decorators in addition to the new "default colour decorators" in the same document. That's just how this new VS Code feature works unfortunately. As soon as any extension provides colour decorators for a document the "default" decorators are disabled. I'm going to convert this to a discussion because I don't consider this a bug with the extension, but if anyone has any ideas for improving the colour decorator behaviour please let me know! |
Beta Was this translation helpful? Give feedback.
-
The default value of |
Beta Was this translation helpful? Give feedback.
-
Repeated testing with and without VSCode custom user settings (nuked the json file) are reproducible as detailed below Click to expandvscode Color Boxes Click to expand(Accept all prompts, just go for defaults everywhere)
Color Boxes Click to expand(Accept all prompts, just go for defaults everywhere)
Color boxes There is clearly something happening in one environment that is missing in the other. Same results with npm. Whatever next is doing or (not) doing seems to work. Hope this helps someone get to the bottom of this, I'm still new at this and don't really know where to start debugging (except isolating environments like i've done above) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What version of Tailwind CSS IntelliSense are you using?
0.9.11
What version of Tailwind CSS are you using?
3.3.1
What package manager are you using?
npm
What operating system are you using?
macOS
Tailwind config
Lmk if this is really needed. Minimal config for reproduction:
VS Code settings
Lmk if this is really needed.
Reproduction URL
Lmk if you have a recommended way of creating cloud reproductions for this plugin.
Describe your issue
VS Code 1.78 (April 2023) adds inline color decorators
(source: https://code.visualstudio.com/updates/v1_78#_standalone-color-picker)
When
editor.defaultColorDecorators
is set to `true:Beta Was this translation helpful? Give feedback.
All reactions