Color Decorator / picker not displayed with extension active #976
-
|
The VS Code Color Decorator / picker is not displayed on hover in XML files when I have this extension enabled. It does display if I disable it. I've been through the settings but can't see anything to cause the problem. Any suggestions please? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
|
Can you please share some sample xml and add a screenshot with/without vscode-xml enabled? |
Beta Was this translation helpful? Give feedback.
-
|
I have installed vscode-xml does nothing about color, the https://github.com/redhat-developer/vscode-xml/blob/main/docs/Features/XMLColorsFeatures.md uses the language server support from vscode which is used too in CSS files. Which version of vscode are you using? |
Beta Was this translation helpful? Give feedback.



If I understand your need, you would like write this XML:
and having color support when you write
#fffanywhere? If it that it doesn't work like this. For CSS it is the same thing. If you declare#fffnot after a color attribute you should not see color.For vscode-xml it is the same thing, you need to configure where color can be occur, please read https://github.com/redhat-developer/vscode-xml/blob/main/docs/Features/XMLColorsFeatures.md and you will not need another extension.