To be clear, in your screenshot, const is in fact being highlighted the same as other keywords, like let (purple). TextMate scopes/grammars are an entire topic to themselves, but I expect you can just copy from others’ examples for such a small change. This goes inside:Īnd follows the same type of format you see in my theme here. Place the cursor on the token of interest to determine the textmate scopes being applied.Īdd a new highlighting rule for that specific scope to settings.json. Open the command palette and choose Developer: Inspect TM Scopes. If you really just want to make small changes, it’s easier to alter settings.json than create a new theme.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |