Vscode: Color picker does not show on color affordance

Created on 1 Feb 2018  路  10Comments  路  Source: microsoft/vscode

Steps to Reproduce:

  1. open settings
  2. define a setting that shows a color decoration (like workbench.colorCustomizations)
  3. hover over color decoration

The color picker does not show up (works fine in stable)

image

*duplicate bug editor-color-picker

Most helpful comment

Not sure if this is related or not, but I've found it tricky to get the color picker to show up in css/scss files.

hovers

You can see in the gif that if you start over the color text it does show, but if you hover over anything before the color itself it won't switch to the color picker when you move. And if you hover on the color swatch itself it won't show (which is what I always try).

All 10 comments

It shows up on the text (#ff0000) so the language server provides the ranges.

Not sure if this is related or not, but I've found it tricky to get the color picker to show up in css/scss files.

hovers

You can see in the gif that if you start over the color text it does show, but if you hover over anything before the color itself it won't switch to the color picker when you move. And if you hover on the color swatch itself it won't show (which is what I always try).

Hey, guys first post ever on a github public repo! From bisecting the repo this might be the first place to look; which is unfortunately on merge 1287a5dd31956b2. I'm relatively new to the vs code repo so I can't really provide more details. I hope this helps!

You have to hover the text, not the colored box

It seems strange to me that hovering over the colored box doesn't work. It's instinctively the place where I go to - as other applications tend to work this way.

@rebornix This is a regression, would be good to plan it...

I switched from brackets to VSC and was frustrated with this issue. Still cant make it work. It only works if CP opens above the color...

@eamodio You deserved my login just comment + like your post! This is the best workaround for this!!
Like others, I'm having trouble trying to get color picker to appear.

This issue shares the same root cause as https://github.com/Microsoft/vscode/issues/40634 so let's track it there.

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sijad picture sijad  路  3Comments

chrisdias picture chrisdias  路  3Comments

VitorLuizC picture VitorLuizC  路  3Comments

DovydasNavickas picture DovydasNavickas  路  3Comments

lukehoban picture lukehoban  路  3Comments