I watched a video from YUIConf 2012 in which Douglas Crockford talks about implementing monads in JavaScript. In this conversation, he gives an example of code that uses what he calls βContextual Coloring,β which throws out the idea of ββcoloring by language syntax and introduces different colors for different levels of coverage. Here is a link to this part of the video.
http://www.youtube.com/watch?feature=player_embedded&v=dkZFtimgAcM#t=15m58s
Is this contextual coloring scheme implemented by any code editor for JavaScript or any language?
I use Sublime Text and this editor, like any other code editor I came across, allows you to apply color to the syntax. I'm not sure if the plugin can solve this problem or if the editor should be designed from scratch to allow this context coloring scheme.
javascript editor sublimetext2 syntax-highlighting
cs_brandt Dec 14 2018-12-12T00: 00Z
source share