CssTools icon indicating copy to clipboard operation
CssTools copied to clipboard

Color Adornments Broken After Updating VS2019 to v16.10.0

Open jopuckman opened this issue 3 years ago • 6 comments

Installed product versions

  • Visual Studio: Enterprise 2019 v16.10.0
  • This extension: 1.1.4

Description

Color adornments no longer work. This feature worked prior to v16.10.0 of Visual Studio 2019.

Steps to recreate

  1. Create a new stylesheet.
  2. Add a style with a HEX color attribute.
  3. The color adornment (the color square to the left of the HEX value) does not display. Note that other features like image preview and Hex darken/lighten do still work.

Current behavior

Color adornments do not display next to the color value.

Expected behavior

Adornments should display in the same color as the color value.

jopuckman avatar May 27 '21 15:05 jopuckman

I can confirm that color adornments don't work after the update to v16.10.0 also on VS Professional Edition

lukasz-pekala avatar Jun 10 '21 08:06 lukasz-pekala

I would like to add that in my case if I cut/delete and the undo the adornment block will appear until page refresh.

Bonejob avatar Jun 24 '21 12:06 Bonejob

Can confirm same experience as @Bonejob reports now on 16.10.3

MikeVirtual avatar Jul 08 '21 21:07 MikeVirtual

This is still broken in VS 2019 v16.11.2

leon42 avatar Sep 07 '21 07:09 leon42

v16.11.7, still broken... 🙄

stamminator avatar Nov 18 '21 22:11 stamminator

As a momentary workaround, I use to toggle outlining of CSS rules (collapse & expand), or toggle an entire section of /* #region * / ... /* #endregion * /, in order to make the color adornments temporary visible. Otherwise, the color adornments are indeed broken on v16.11.7.

RemVas avatar Dec 19 '21 17:12 RemVas