mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
64 lines
2.0 KiB
Plaintext
64 lines
2.0 KiB
Plaintext
'menu': [
|
|
{
|
|
label: 'Atom'
|
|
submenu: [
|
|
{ label: 'About Atom', command: 'application:about' }
|
|
{ label: "VERSION", enabled: false }
|
|
{ label: "Install update", command: 'application:install-update', visible: false }
|
|
{ type: 'separator' }
|
|
{ label: 'Preferences...', command: 'application:show-settings' }
|
|
{ label: 'Hide Atom', command: 'application:hide' }
|
|
{ label: 'Hide Others', command: 'application:hide-other-applications' }
|
|
{ label: 'Show All', command: 'application:unhide-all-applications' }
|
|
{ type: 'separator' }
|
|
{ label: 'Run Atom Specs', command: 'application:run-all-specs' }
|
|
{ type: 'separator' }
|
|
{ label: 'Quit', command: 'application:quit' }
|
|
]
|
|
}
|
|
{
|
|
label: 'File'
|
|
submenu: [
|
|
{ label: 'New Window', command: 'application:new-window' }
|
|
{ label: 'New File', command: 'application:new-file' }
|
|
{ type: 'separator' }
|
|
{ label: 'Open...', command: 'application:open' }
|
|
{ label: 'Open In Dev Mode...', command: 'application:open-dev' }
|
|
{ type: 'separator' }
|
|
{ label: 'Close Window', command: 'window:close' }
|
|
]
|
|
}
|
|
|
|
{
|
|
label: 'Edit'
|
|
submenu: [
|
|
{ label: 'Undo', command: 'core:undo' }
|
|
{ label: 'Redo', command: 'core:redo' }
|
|
{ type: 'separator' }
|
|
{ label: 'Cut', command: 'core:cut' }
|
|
{ label: 'Copy', command: 'core:copy' }
|
|
{ label: 'Paste', command: 'core:paste' }
|
|
{ label: 'Select All', command: 'core:select-all' }
|
|
]
|
|
}
|
|
|
|
{
|
|
label: 'View'
|
|
submenu: [
|
|
{ label: 'Reload', command: 'window:reload' }
|
|
{ label: 'Toggle Full Screen', command: 'window:toggle-full-screen' }
|
|
{ label: 'Toggle Developer Tools', command: 'window:toggle-dev-tools' }
|
|
]
|
|
}
|
|
|
|
{
|
|
label: 'Window'
|
|
submenu: [
|
|
{ label: 'Minimize', command: 'application:minimize' }
|
|
{ label: 'Zoom', command: 'application:zoom' }
|
|
{ type: 'separator' }
|
|
{ label: 'Bring All to Front', command: 'application:bring-all-windows-to-front' }
|
|
]
|
|
}
|
|
]
|