edvin/tornadofx-idea-plugin

Feature: Show color in the gutter for color values

anidotnet opened this issue · 9 comments

It would be nice to show color in the gutter against color values in css dsl code, just like what raw css plugin does.

image

edvin commented

We actually already have that, but it currently doesn't support all color properties, only background I think. Isn't that right @nimakro ?

@anidotnet Thank's for the reminder I actually planned to support all color properties already a while ago, just didn't get around to do so. I am pretty swamped with work right now but I will try to fix this asp. Will report back as soon as it is fixed probably next Week.

@nimakro any update on it yet please?

Hey @anidotnet sorry for the delay, I just have way too much to do at the moment. Anyways I looked into the code and started implementing this feature, it's almost done and I should be finished tomorrow.

This should be resolved with #44. @anidotnet This should be available in the next plugin release.

Thanks a lot @nimakro and @edvin. Now the obvious question is what is the ETA of the release please?

edvin commented

@anidotnet We'll release early next week :)

@nimakro still could not see colors in the gutter

image

@edvin could you please reopen the issue?

It looks like color value only inside a StyleSheet class is supported. Can we extend that to any class please? Also, is it possible to add support for derived color value as well?