Sublime Forum

Color values instead of tags

#1

I’ve gone through quite a few color schemes, and got this idea:

Is there a way to have Sublime Text color string values instead of tags?

So for an example, if I use a value in my code like button_positive, then that value is assigned a random color.
Now everywhere in my document that value will have the same color, making it easy to see everywhere where I used that value.

The tricky thing is of course to automatically and randomly assign nice readable distinct colors to all values in your document.
Maybe the values first character can determine the hue?

Anyone know if anyone has made a plugin like this for sublime text?
I didn’t find anything trying to google this idea.

0 Likes

#2

see here Different approach to syntax highlighting

0 Likes