News for hackers. Stuff that matters.
Re:Lexical differential highlighting instead of syntax highl... by kazinator on Thursday July 11, 2019 @03:30PM (#20414828)
This idea is related to "rainbow parentheses" (e.g. for Lisp): different levels of parens just get arbitrary different colors. But matching parens are the same color, just like two occurrences of %ecx in the same line are the same.
Re:Lexical differential highlighting instead of syntax highl... by human_banana on Friday July 12, 2019 @02:55PM (#20423341)
In emacs there's a package rainbow-delimiters-mode for parantheses, braces, brackets and what not, and rainbow-identifier-mode which makes variables names unique colors.
Re:Lexical differential highlighting instead of syntax highl... by andrepd on Thursday July 11, 2019 @05:10PM (#20415886)
It's legitimately one of the best features of Excel. Does anybody know how I can achieve that in Sublime? The few options I found were subpar.
Re:Lexical differential highlighting instead of syntax highl... by kaibee on Thursday July 11, 2019 @10:55PM (#20417716)
Don't know about Sublime, but there's a plugin that does this for Visual Studio.

https://marketplace.visualstudio.com/items?itemName=TomasRes...

Probably not helpful to you, but maybe some other lurker.

Re:Lexical differential highlighting instead of syntax highl... by neotek on Thursday July 11, 2019 @09:32PM (#20417380)
I'd love to know the answer to this as well, it would be so useful.