Updates context-menu to use new api
This commit is contained in:
parent
baa58ab5d5
commit
6810805e3e
|
@ -1,12 +1,15 @@
|
||||||
# See https://atom.io/docs/latest/creating-a-package#menus for more details
|
# See https://atom.io/docs/latest/creating-a-package#menus for more details
|
||||||
'context-menu':
|
'context-menu':
|
||||||
'atom-workspace atom-text-editor:not(.mini)':
|
'atom-workspace atom-text-editor:not(.mini)': [
|
||||||
'Beautify editor contents': 'beautify:beautify-editor'
|
{label: 'Beautify editor contents', command: 'beautify:beautify-editor'}
|
||||||
'Debug Atom Beautify': 'beautify:help-debug-editor'
|
{label: 'Debug Atom Beautify', command: 'beautify:help-debug-editor'}
|
||||||
'.tree-view .file > .name':
|
]
|
||||||
'Beautify File': 'beautify:beautify-file'
|
'.tree-view .file > .name': [
|
||||||
# '.tree-view .directory > .header > .name':
|
{label: 'Beautify File', command: 'beautify:beautify-file'}
|
||||||
# 'Beautify Directory': 'beautify:beautify-directory'
|
]
|
||||||
|
# '.tree-view .directory > .header > .name': [
|
||||||
|
# {label: 'Beautify Directory', command: 'beautify:beautify-directory'}
|
||||||
|
# ]
|
||||||
|
|
||||||
'menu': [
|
'menu': [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue