Sublime Forum

Color values instead of tags


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.



see here Different approach to syntax highlighting