Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: aeaae259b0
Fetching contributors…

Cannot retrieve contributors at this time

8 lines (6 sloc) 0.244 kb
import sublime, sublime_plugin
class ScopeInspectorCommand(sublime_plugin.TextCommand):
def run(self, edit):
scopes = self.view.scope_name(self.view.sel()[0].begin()).split(' ')
for scope in scopes:
print scope
Jump to Line
Something went wrong with that request. Please try again.