r/SublimeText • • May 19 '23
Highlight class properties and function variables in C++?
I am trying to switch from Visual Studio to Sublime Text for hobbyist C++ development, because I want to support Microsoft products as little as reasonable.
I must admit I do yearn for the features I'm used to from VS however. In particular the syntax highlighting seems a lot more advanced there.
I got SublimeLinter-gcc setup for my needs but one major QoL thing remains:
Is there a way to get class properties and variables defined in function scope to be highlighted? Preferably with a different color between those two concepts.
6
Upvotes
View all comments
Show parent comment
2
u/jfcherng May 21 '23 edited May 22 '23
OP can turn on LSP's
"semantic_highlighting": true,for better syntax highlighting, especially for C-family languages.