2014-03-04 00:07:45 -07:00
|
|
|
# See https://atom.io/docs/latest/creating-a-package#menus for more details
|
|
|
|
'context-menu':
|
2015-04-16 04:43:20 -06:00
|
|
|
'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'}
|
|
|
|
# ]
|
2014-03-04 00:07:45 -07:00
|
|
|
|
|
|
|
'menu': [
|
|
|
|
{
|
|
|
|
'label': 'Packages'
|
|
|
|
'submenu': [
|
2015-03-15 22:36:53 -06:00
|
|
|
'label': 'Atom Beautify'
|
|
|
|
'submenu': [
|
|
|
|
{
|
|
|
|
'label': 'Beautify'
|
|
|
|
'command': 'beautify:beautify-editor'
|
|
|
|
}
|
|
|
|
{
|
|
|
|
'label': 'Debug'
|
2015-03-20 10:33:17 -06:00
|
|
|
'command': 'beautify:help-debug-editor'
|
2015-03-15 22:36:53 -06:00
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
2014-03-04 00:07:45 -07:00
|
|
|
}
|
|
|
|
]
|