Skip to content

Commit

Permalink
Fixes #240. Change Debug command name to make beautify editor first
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavin001 committed Mar 20, 2015
1 parent 41bad3c commit e67425f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/beautify.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,6 @@ plugin.activate = ->
handleSaveEvent()
plugin.subscribe atom.config.observe("atom-beautify.beautifyOnSave", handleSaveEvent)
atom.commands.add "atom-workspace", "beautify:beautify-editor", beautify
atom.commands.add "atom-workspace", "beautify:debug", debug
atom.commands.add "atom-workspace", "beautify:help-debug-editor", debug
atom.commands.add ".tree-view .file .name", "beautify:beautify-file", beautifyFile
atom.commands.add ".tree-view .directory .name", "beautify:beautify-directory", beautifyDirectory
4 changes: 2 additions & 2 deletions menus/atom-beautify.cson
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
'context-menu':
'atom-workspace atom-text-editor:not(.mini)':
'Beautify editor contents': 'beautify:beautify-editor'
'Debug Atom Beautify': 'beautify:debug'
'Debug Atom Beautify': 'beautify:help-debug-editor'
'.tree-view .file > .name':
'Beautify File': 'beautify:beautify-file'
# '.tree-view .directory > .header > .name':
Expand All @@ -20,7 +20,7 @@
}
{
'label': 'Debug'
'command': 'beautify:debug'
'command': 'beautify:help-debug-editor'
}
]
]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
},
"activationCommands": {
"atom-workspace": [
"beautify:help-debug-editor",
"beautify:beautify-editor",
"beautify:debug",
"core:save",
"core:save-as"
],
Expand Down

0 comments on commit e67425f

Please sign in to comment.