colorize color-values in css like urls in css

is it possible as url of images in css files can has own color, we can highlight all sections of a css-property-value that has color-values (borders can has serveral color in define border property)

color-values can be :

  1. 3 or 6 of hex digit

rgb(....)
name of color (standard is 17 names but IDEA show more many colors)

i think usage of HighlighterManager is easier/more possible then customize css support of IDEA

FAQ :

is it possible that get list names of colors of IDEA completion

if yes, how interpert it to a new java.awt.Color()

3 comments
Comment actions Permalink

While this doesn't really answer your question it may help. Have you installed my Color Browser plugin? This may help with what you want. It doesn't show CSS colors as their actual color in realtime but it does allow you to see the color as you need to.

Enjoy,
Rick

0
Comment actions Permalink

Control + Q shows color preview when invoked on the color name (perhabs,
rgb is not supported yet)

Ali Reza Sharghi wrote:

is it possible as url of images in css files can has own color, we can highlight all sections of a css-property-value that has color-values (borders can has serveral color in define border property)

color-values can be :

  1. hex digit 3

rgb(....)
name of color (standard is 17 names but IDEA show more many colors)

i think usage of HighlighterManager is easier/more possible then customize css support of IDEA

FAQ :

is it possible that get list names of colors of IDEA completion

if yes, how interpert it to a new java.awt.Color()



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Hello Rick,

yes
=============
very thanks

WBR,
Ali Reza Sharghi
mailto:a_sharghi@hotmail.com

RM> While this doesn't really answer your question it may help. Have you
RM> installed my Color Browser plugin? This may help with what you want.
RM> It doesn't show CSS colors as their actual color in realtime but it
RM> does allow you to see the color as you need to.
RM>
RM> Enjoy,
RM> Rick


0

Please sign in to leave a comment.