Skip to content

Commit e67425f

Browse files
committed
Fixes #240. Change Debug command name to make beautify editor first
1 parent 41bad3c commit e67425f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/beautify.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,6 @@ plugin.activate = ->
358358
handleSaveEvent()
359359
plugin.subscribe atom.config.observe("atom-beautify.beautifyOnSave", handleSaveEvent)
360360
atom.commands.add "atom-workspace", "beautify:beautify-editor", beautify
361-
atom.commands.add "atom-workspace", "beautify:debug", debug
361+
atom.commands.add "atom-workspace", "beautify:help-debug-editor", debug
362362
atom.commands.add ".tree-view .file .name", "beautify:beautify-file", beautifyFile
363363
atom.commands.add ".tree-view .directory .name", "beautify:beautify-directory", beautifyDirectory

menus/atom-beautify.cson

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
'context-menu':
33
'atom-workspace atom-text-editor:not(.mini)':
44
'Beautify editor contents': 'beautify:beautify-editor'
5-
'Debug Atom Beautify': 'beautify:debug'
5+
'Debug Atom Beautify': 'beautify:help-debug-editor'
66
'.tree-view .file > .name':
77
'Beautify File': 'beautify:beautify-file'
88
# '.tree-view .directory > .header > .name':
@@ -20,7 +20,7 @@
2020
}
2121
{
2222
'label': 'Debug'
23-
'command': 'beautify:debug'
23+
'command': 'beautify:help-debug-editor'
2424
}
2525
]
2626
]

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
},
7272
"activationCommands": {
7373
"atom-workspace": [
74+
"beautify:help-debug-editor",
7475
"beautify:beautify-editor",
75-
"beautify:debug",
7676
"core:save",
7777
"core:save-as"
7878
],

0 commit comments

Comments
 (0)