↧
Answer by Chuck for Defining scope for custom Sublime Text 2 snippets
Actually, you can use the Ctrl+Alt+Shift+P (without using Scope Hunter) and it will show you the scope on the bottom bar on the left side right after the Col/Line information. It's pretty small print...
View ArticleAnswer by alexwlchan for Defining scope for custom Sublime Text 2 snippets
There's a package called Scope Hunter, by Isaac Muse, which is really helpful for this.It can show you the scope under any cursor in a document, which I've found really helpful when debugging my own...
View ArticleAnswer by Joseph Knight for Defining scope for custom Sublime Text 2 snippets
View Current Scope of Cursor PositionPlace your cursor in the file where you wish to know the scope.Use this keyboard-shortcut:Windows: ctrl+shift+alt+pMac:ctrl+shift+pThe current scope will be...
View ArticleAnswer by d_rail for Defining scope for custom Sublime Text 2 snippets
To answer, #1, look in the syntax's .tmLanguage file, look for the key: scopeName. This is what the syntax uses for the snippet's scope value.For example, an excerpt from nathos /...
View ArticleAnswer by Bibhas Debnath for Defining scope for custom Sublime Text 2 snippets
Here is a list of scopes to use in Sublime Text 2 snippets - ActionScript: source.actionscript.2AppleScript: source.applescriptASP: source.aspBatch FIle: source.dosbatchC#: source.csC++:...
View ArticleDefining scope for custom Sublime Text 2 snippets
While trying to write my own snippets for Sublime Text 2, I ran into the following two problems:Finding scope keys. I figured out that I can look through my packages one by one and find references to a...
View Article
More Pages to Explore .....