1

I want to customize the color scheme of the comments in my code, by editing the .tmTheme

How to know which of the <dict> <key> corresponds to which element of the code?

Like, I can guess some of them but not every one of them is that obvious..

I remember there was some mouse click or a keyboard shortcut that when you hover over something in your code and click/press it it would show exactly the key you need to edit in the status bar.

Something like this

How do I do that?

1

2 Answers 2

2

Press CtrlShiftAltP (Windows) or CtrlShiftP (OS X) to show the current scope names in the status bar.

Screenshot

Screenshot

0
2

While Daniel Beck's answer works, and is technically correct, it's kind of a pain to keep pressing a key combination every time you want to see the scope. To that end, I highly recommend the ScopeAlways plugin, available via Package Control. Once activated, it constantly displays the scope of the current cursor position in the status bar. I've found it invaluable for designing themes from the ground up, as well as just tweaking a selector here or there. (And no, I didn't write it...)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .