Skip to content

Commit

Permalink
Updates context-menu to use new api
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Wernvik committed Apr 16, 2015
1 parent baa58ab commit 6810805
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions menus/atom-beautify.cson
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# See https://atom.io/docs/latest/creating-a-package#menus for more details
'context-menu':
'atom-workspace atom-text-editor:not(.mini)':
'Beautify editor contents': 'beautify:beautify-editor'
'Debug Atom Beautify': 'beautify:help-debug-editor'
'.tree-view .file > .name':
'Beautify File': 'beautify:beautify-file'
# '.tree-view .directory > .header > .name':
# 'Beautify Directory': 'beautify:beautify-directory'
'atom-workspace atom-text-editor:not(.mini)': [
{label: 'Beautify editor contents', command: 'beautify:beautify-editor'}
{label: 'Debug Atom Beautify', command: 'beautify:help-debug-editor'}
]
'.tree-view .file > .name': [
{label: 'Beautify File', command: 'beautify:beautify-file'}
]
# '.tree-view .directory > .header > .name': [
# {label: 'Beautify Directory', command: 'beautify:beautify-directory'}
# ]

'menu': [
{
Expand Down

0 comments on commit 6810805

Please sign in to comment.