Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode - Display theme scope for selected text

I'm trying to write a custom theme for vscode. In order to do this I need to know the theme scope that was applied to each token when vscode tokenized the source code.

For example was a particular keyword in the source tagged as constant.numeric or just constant.

Is there anyway to display this information?

like image 462
kimsagro Avatar asked Apr 20 '16 22:04

kimsagro


People also ask

How do I enable side preview in VS Code?

To switch between views, press Ctrl+Shift+V in the editor. You can view the preview side-by-side (Ctrl+K V) with the file you are editing and see changes reflected in real-time as you edit.


1 Answers

ctrl+shift+p and type in "scope", the fuzzy search should find you the command "Developer: Inspect TM Scopes"

like image 122
Joe Avatar answered Oct 24 '22 13:10

Joe