top | item 45597808

(no title)

ferd | 4 months ago

No... the best way is to use the same color for all occurrences of the same identifier. So, on the last example, all instances of say "audio" should be of the same color, and those of "filename" of another color.

Original idea from here: https://medium.com/@evnbr/coding-in-color-3a6db2743a1e

One impl for Emacs: https://github.com/ankurdave/color-identifiers-mode

I still admire you Niki.

discuss

order

IshKebab|4 months ago

I tried that for a while but found it's just too colourful. I prefer tasteful colours, somewhere between the two bad extremes demonstrated in this article, but also when you click and identifier it highlights all instances of it.