daniellmb / JavaScript-Scope-Context-Coloring

An experiment in switching between syntax highlighting and scope colorizing built on JSLint and CodeMirror.
Other
579 stars 68 forks source link

Use syntax + scope with background color #5

Open cbancestry opened 11 years ago

cbancestry commented 11 years ago

Seems like you could get the best of both worlds by highlighting scope using background color and maintaining syntax highlighting.

katspaugh commented 11 years ago

Indeed! However, background might be a bit annoying. One could have the same basic color for identifiers, but with different luminosity. Like, the deeper is the callback hell, the darker is the color. Or lighter, if the background is white.

MattiSG commented 11 years ago

+1, this is clearly how I have had this in mind for months.