Get scope of current file ``` atom.workspace.getActiveEditor().getGrammar().scopeName ```