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)': [
|
2015-05-06 10:00:51 -06:00
|
|
|
{label: 'Beautify editor contents', command: 'atom-beautify:beautify-editor'}
|
|
|
|
{label: 'Debug Atom Beautify', command: 'atom-beautify:help-debug-editor'}
|
2015-04-16 04:43:20 -06:00
|
|
|
]
|
|
|
|
'.tree-view .file > .name': [
|
2015-05-06 10:00:51 -06:00
|
|
|
{label: 'Beautify File', command: 'atom-beautify:beautify-file'}
|
2015-04-16 04:43:20 -06:00
|
|
|
]
|
2015-06-11 18:58:27 -06:00
|
|
|
# '.tree-view .directory > .header > .name': [
|
|
|
|
# {label: 'Beautify Directory', command: 'atom-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'
|
2015-05-06 10:00:51 -06:00
|
|
|
'command': 'atom-beautify:beautify-editor'
|
2015-03-15 22:36:53 -06:00
|
|
|
}
|
|
|
|
{
|
|
|
|
'label': 'Debug'
|
2015-05-06 10:00:51 -06:00
|
|
|
'command': 'atom-beautify:help-debug-editor'
|
2015-03-15 22:36:53 -06:00
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
2014-03-04 00:07:45 -07:00
|
|
|
}
|
|
|
|
]
|