How do I determine what CSS class to use to highlight a specific syntax?


Shamelessly copied from @Maxim, because they’re awesome

You can find out what scope is under cursor by running “Editor: Log Cursor Scope” command from the command palette:

You can also inspect the dom with developer tools:

Taken from:

Highlight C/C++ keywords
C++ string variable type highlight
Variable not recognized
Any way to highlight the background color between $$?