Updates context-menu to use new api

This commit is contained in:
Anton Wernvik 2015-04-16 12:43:20 +02:00
parent baa58ab5d5
commit 6810805e3e
1 changed files with 10 additions and 7 deletions

View File

@ -1,12 +1,15 @@
# See https://atom.io/docs/latest/creating-a-package#menus for more details # See https://atom.io/docs/latest/creating-a-package#menus for more details
'context-menu': 'context-menu':
'atom-workspace atom-text-editor:not(.mini)': 'atom-workspace atom-text-editor:not(.mini)': [
'Beautify editor contents': 'beautify:beautify-editor' {label: 'Beautify editor contents', command: 'beautify:beautify-editor'}
'Debug Atom Beautify': 'beautify:help-debug-editor' {label: 'Debug Atom Beautify', command: 'beautify:help-debug-editor'}
'.tree-view .file > .name': ]
'Beautify File': 'beautify:beautify-file' '.tree-view .file > .name': [
# '.tree-view .directory > .header > .name': {label: 'Beautify File', command: 'beautify:beautify-file'}
# 'Beautify Directory': 'beautify:beautify-directory' ]
# '.tree-view .directory > .header > .name': [
# {label: 'Beautify Directory', command: 'beautify:beautify-directory'}
# ]
'menu': [ 'menu': [
{ {