Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
fooey
· 5y ago · 0 comments
Do you mean what VSCode calls semantic highlighting?
https://code.visualstudio.com/api/language-extensions/semant...
Comments
[–]
kevingadd
5y ago
No, the GP is talking about a unique color being assigned to each name (local, parameter etc) in a scope so that typos become visible at a glance. I used a Sublime Text extension for this once but haven't seen it built into an editor either.
[–]
dr_kiszonka
5y ago
I wonder if it would be possible to combine the two, e.g., have parameters always displayed in italics with each parameter having its distinct color.