atom-beautify/menus/atom-beautify.cson

29 lines
813 B
Plaintext

# 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'
'menu': [
{
'label': 'Packages'
'submenu': [
'label': 'Atom Beautify'
'submenu': [
{
'label': 'Beautify'
'command': 'beautify:beautify-editor'
}
{
'label': 'Debug'
'command': 'beautify:help-debug-editor'
}
]
]
}
]