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

前端 未结 7 758
栀梦
栀梦 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:43

    There are a couple of sublime text packages you can use to do this.

    Installing Package Control

    Go to https://sublime.wbond.net/ and click "Installation" and follow the instructions to install sublime text package manager.

    Packages Which Display the Current Scope

    I know of a couple of sublime text packages which display the current scope in the status bar.

    • ScopeStatus (Sublime Text 2 Only)
    • ScopeHunter
    • Scope​Always (Created By Me)
    • CurrentScope(Sublime Text 2 Only)

    Installing One of the Above Packages

    To install a package with sublime text package manager open sublime text's command palette (ctrl+shift+p) and choose the command Package Control: Install Package and then select one of the above packages.

    0 讨论(0)
提交回复
热议问题