postcss-language icon indicating copy to clipboard operation
postcss-language copied to clipboard

Color picker doesn't work

Open ehoogeveen-medweb opened this issue 5 years ago • 10 comments

I noticed that VSCode's built-in color picker doesn't work after enabling this extension. The color picker shows the color as a little square next to the CSS value and lets you choose a different color on hover. This feature is pretty useful but unfortunately it's only enabled for the CSS dialects that VSCode natively supports.

Looking at how vetur implemented this, it looks like you have to register with a color provider. This doesn't look exactly trivial, but hopefully it doesn't require too much customization either.

ehoogeveen-medweb avatar Jan 30 '20 08:01 ehoogeveen-medweb

I have the same issue.

freesh avatar Apr 16 '20 18:04 freesh

Verifying that VS-code color decorators are not supported in v1.0.3

spoike avatar May 08 '20 08:05 spoike

facing the same issue

sanket-bhalerao avatar Jun 02 '20 13:06 sanket-bhalerao

My plugin does not include any languageserver integration, which is the cause of the missing Intellisense integration and color parsing. This is something I need to add. Thank you for telling me, and I’m very sorry this feature is missing.

Unless I misunderstand the abilities of other language extensions, it seems like one is either forced to miss out the syntax validity of modern CSS, or forced to miss out on the amazing integration abilities of VSCode. 😞

jonathantneal avatar Jul 17 '20 14:07 jonathantneal

Any new word on this?

brycewray avatar Apr 13 '21 22:04 brycewray

Any update on this, @jonathantneal? Really looking forward to this feature! :)

renet avatar Aug 04 '21 14:08 renet

I have the same issue.

jedchang avatar Jan 17 '22 02:01 jedchang

I've been dealing with this for awhile as well.

jas-naz avatar Feb 06 '22 21:02 jas-naz

Is the author missing? There's been no update for two years

Is there an alternative vscode plug-in to recommend?

tomoat avatar Mar 15 '22 03:03 tomoat

Faced the same issue. Disabling this extension resolved my CSS color picker issue.

nishant-k1 avatar Apr 17 '23 00:04 nishant-k1