# See https://atom.io/docs/latest/creating-a-package#menus for more details 'context-menu': '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': [ { 'label': 'Packages' 'submenu': [ 'label': 'Atom Beautify' 'submenu': [ { 'label': 'Beautify' 'command': 'beautify:beautify-editor' } { 'label': 'Debug' 'command': 'beautify:help-debug-editor' } ] ] } ]