Where to find a list of scopes for Sublime2 (or textMate?)

前端 未结 7 756
栀梦
栀梦 2021-01-29 23:11

in .tmTheme files the scope key defines how a element is highlighted:

    
        name
        HTML: Attribute          


        
7条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-29 23:27

    Unfortunately there doesn't seem to be any such comprehensive list.

    However, if you press Shift+Ctrl+P in SublimeText 2, the status bar at the bottom of the screen will display a comprehensive list of all the scope keys that apply to the character immediately following your cursor position.

    You can use this method to find the scope keys for anything you need from within SublimeText.

提交回复
热议问题