Theming: Disclose CSS classes in editor


When working on a theme, it would be very helpful if the CSS classes (e.g. “identifier.type.class”) used by the theme stylesheet could be disclosed in an open editor.

I’m styling based off some real life source files and it’s quite some guesswork/trial/error to find the corresponding CSS classes in the stylesheet. It would help a lot if e.g. right-clicking an element could show the used CSS classes.

Is this possible?

Ah, just figured it out, there’s the inspector crosslines icon in the status bar for this:

Screen Shot 2021-10-22 at 20.12.49