Fixes #240. Change Debug command name to make `beautify editor` first
This commit is contained in:
parent
41bad3c891
commit
e67425f0f9
|
@ -358,6 +358,6 @@ plugin.activate = ->
|
||||||
handleSaveEvent()
|
handleSaveEvent()
|
||||||
plugin.subscribe atom.config.observe("atom-beautify.beautifyOnSave", 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: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 .file .name", "beautify:beautify-file", beautifyFile
|
||||||
atom.commands.add ".tree-view .directory .name", "beautify:beautify-directory", beautifyDirectory
|
atom.commands.add ".tree-view .directory .name", "beautify:beautify-directory", beautifyDirectory
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
'context-menu':
|
'context-menu':
|
||||||
'atom-workspace atom-text-editor:not(.mini)':
|
'atom-workspace atom-text-editor:not(.mini)':
|
||||||
'Beautify editor contents': 'beautify:beautify-editor'
|
'Beautify editor contents': 'beautify:beautify-editor'
|
||||||
'Debug Atom Beautify': 'beautify:debug'
|
'Debug Atom Beautify': 'beautify:help-debug-editor'
|
||||||
'.tree-view .file > .name':
|
'.tree-view .file > .name':
|
||||||
'Beautify File': 'beautify:beautify-file'
|
'Beautify File': 'beautify:beautify-file'
|
||||||
# '.tree-view .directory > .header > .name':
|
# '.tree-view .directory > .header > .name':
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
'label': 'Debug'
|
'label': 'Debug'
|
||||||
'command': 'beautify:debug'
|
'command': 'beautify:help-debug-editor'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
|
@ -71,8 +71,8 @@
|
||||||
},
|
},
|
||||||
"activationCommands": {
|
"activationCommands": {
|
||||||
"atom-workspace": [
|
"atom-workspace": [
|
||||||
|
"beautify:help-debug-editor",
|
||||||
"beautify:beautify-editor",
|
"beautify:beautify-editor",
|
||||||
"beautify:debug",
|
|
||||||
"core:save",
|
"core:save",
|
||||||
"core:save-as"
|
"core:save-as"
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue