A bit ago, +Douglas Crockford proposed and then implemented contextual function nesting-level coloring of JS. (G+ thread: goo.gl/GAQUl

Just yesterday, +Daniel Lamb posted his demonstration of the technique.
http://daniellmb.github.io/JavaScript-Scope-Context-Coloring/example/scope-coloring.html#fullmonad

I like the idea, in some cases, especially in refactors or code navigation, seeing highlighting for scopes makes more sense than the pieces of syntax. I think I'd probably toggle back and forth.

(Looks like +Antony Scriven is working on vim integration as well)
Photo
Shared publiclyView activity