EditorColorPreview icon indicating copy to clipboard operation
EditorColorPreview copied to clipboard

Display color preview for valid SCSS/Sass/LESS variables

Open stamminator opened this issue 3 years ago • 1 comments

It would be nice if preprocessor variables whose values are a valid color string displayed color previews. Something like this example I photoshopped:

image

The only way I see this being feasible is if it's possible to hook into whatever mechanism Visual Studio already uses to detect variable values when you hover over them with your cursor, as shown here:

image

If that's not possible, then I think it's safe to file this away as "more trouble than it's worth". But if it is, this would be a very convenient feature to have.

P.S. I'm loving the revamped version of this extension. Thanks for bringing it back.

stamminator avatar Mar 23 '22 20:03 stamminator

+1

Gixen avatar Jan 04 '23 21:01 Gixen