Does anyone have a cheat sheet for selectors and their specific languages? I’m working on a syntax theme and I’m finding myself inspecting every element that I’m trying to experiment with, which is becoming quite cumbersome.
Syntax selector cheat sheet
leedohm
#2
- Put your cursor on the text that you want to highlight
- Press Cmd+Alt+P on OS X or search the Command Palette for “Editor: Log Cursor Scope” on other platforms to see what the key binding is there
A notification will pop up with the scopes for that location. There are some basic conventions, but it is really free-form. It is generally just best to take a look at code and see what the scopes are set to.