     # Write back to editor and change scope
     editor.setText(output)
     editor.setGrammar(@grammars.grammarForScopeName('source.coffee'))
-


  csonToJson: ->
    editor = @workspace.getActiveTextEditor()
    text = editor.getText()

    # Conversion

  # Automatic conversion, based on scope
  autoConvert: ->
    editor = @workspace.getActiveTextEditor()
    if typeof editor is "undefined"
      @atom.beep()
      return
    scope = editor.getGrammar().scopeName

    if scope is "source.coffee"
