vtst / ow

Various Eclipse plugins for web development
http://www.normalesup.org/~simonet/soft/
74 stars 29 forks source link

LESS: Supporting color code preview #220

Open M3lkior opened 10 years ago

M3lkior commented 10 years ago

Hi,

Congratz for your plugin first !

It's possible to support the css color code preview in eclipse editor ? Same functionnality as CSS editor (square tooltip with color's preview on #FFF for example)

vtst commented 10 years ago

Congratz for your plugin first !

Thanks!

It's possible to support the css color code preview in eclipse editor ?

That's a sweet idea, I'll give it a try when I've a free cycle.

s17t commented 10 years ago

+1

Ciantic commented 9 years ago

:+1: I constantly struggle with the colors as I copy the old less files and modify them.

My take on this is perhaps a bit controversial. Show the palette always on the editor especially next to variable definitions e.g.:

@main-color: #ff0000; would show red palette always next to it (or somehow) without tooltip.

I think this should be option as I'm sure not everybody would like to see the palette swatches all the time. But in my case it would be helper cause I define most of the color variables in one place.