JavaScript-Scope-Context-Coloring icon indicating copy to clipboard operation
JavaScript-Scope-Context-Coloring copied to clipboard

Use syntax + scope with background color

Open cbancestry opened this issue 12 years ago • 2 comments

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

cbancestry avatar Apr 08 '13 16:04 cbancestry

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.

katspaugh avatar Apr 08 '13 22:04 katspaugh

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

MattiSG avatar May 03 '13 08:05 MattiSG