Created
August 17, 2017 13:52
-
-
Save jonpemby/e5dd49086f603f558aebf22d45334be3 to your computer and use it in GitHub Desktop.
Get current scope in Atom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
atom.workspace.getActiveTextEditor().getGrammar().scopeName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage
Get the current scope of the active text editor by running this command in the dev tools console.