Home Download Buy Blog Forum Support

Color every token/word

Color every token/word

Postby ovikholt on Wed Jul 31, 2013 4:53 am


I'd like to color each and every token depending on what the token is, so that each word will have one unique color. For instance, all occurrences of 'adapter' could be reddish, and all occurrences of 'trip' could be greenish. The mapping is not the most important thing but could be calculated through a hash and then looked up in a palette (since direct mapping to hue does not suit the human eye), which is tuned such that it make as many words as possible stand out from each other.

* see where a word is used without selecting it, but simply by browsing code with your eyes
* unconsciously remember and later recognize parts and bits of code, using color and pattern memory.

Is this possible, or can it be made possible? This is possible to do in a browser (I've already done it) but it would be great to do it in Sublime Text instead.
Posts: 1
Joined: Wed Jul 31, 2013 4:44 am

Re: Color every token/word

Postby hick on Wed Nov 06, 2013 10:32 am

sigh, impossible for now at least,
I was looking forward such a way too...
Posts: 8
Joined: Fri Aug 09, 2013 5:36 am

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 15 guests