zlacker

[parent] [thread] 0 comments
1. andrep+(OP)[view] [source] 2025-01-29 10:19:45
Semantic highlighting! The LSP thing I mean [1]. It's the one thing which I thought was just an aesthetic nicety but actually makes a huge difference. In C++ for example:

- Color virtual calls differently from direct calls to tell them at a glance

- Class members in a different color than regular variables

- Arguments in a different color than locals, in a different color than statics

- Consts in red, mutable variables in orange

makes a huge difference in effortlessly reading the code.

It's not supported in Sublime (though you can hack a kludge to make a basic version of it work).

[1] https://gist.github.com/swarn/fb37d9eefe1bc616c2a7e476c0bc03...

[go to top]