2013-10-04 23:28:19 +04:00
|
|
|
'menu': [
|
|
|
|
{
|
|
|
|
label: 'Atom'
|
|
|
|
submenu: [
|
|
|
|
{ label: 'About Atom', command: 'application:about' }
|
2013-10-11 22:11:10 +04:00
|
|
|
{ label: "VERSION", enabled: false }
|
2013-10-04 23:28:19 +04:00
|
|
|
{ label: "Install update", command: 'application:install-update', visible: false }
|
|
|
|
{ type: 'separator' }
|
|
|
|
{ label: 'Preferences...', command: 'application:show-settings' }
|
2013-10-18 00:42:14 +04:00
|
|
|
{ type: 'separator' }
|
2013-10-04 23:28:19 +04:00
|
|
|
{ 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: 'Quit', command: 'application:quit' }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label: 'File'
|
|
|
|
submenu: [
|
|
|
|
{ label: 'New Window', command: 'application:new-window' }
|
|
|
|
{ label: 'New File', command: 'application:new-file' }
|
|
|
|
{ label: 'Open...', command: 'application:open' }
|
2013-10-18 21:09:47 +04:00
|
|
|
{ label: 'Reopen Last Item', command: 'pane:reopen-closed-item' }
|
2013-10-04 23:28:19 +04:00
|
|
|
{ type: 'separator' }
|
2013-10-18 00:42:14 +04:00
|
|
|
{ label: 'Save', command: 'core:save' }
|
|
|
|
{ label: 'Save As...', command: 'core:save-as' }
|
|
|
|
{ label: 'Save All', command: 'window:save-all' }
|
|
|
|
{ type: 'separator' }
|
2013-10-18 21:09:47 +04:00
|
|
|
{ label: 'Close Buffer', command: 'core:close' }
|
|
|
|
{ label: 'Close All Buffers', command: 'pane:close' }
|
2013-10-04 23:28:19 +04:00
|
|
|
{ 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' }
|
2013-10-18 22:51:56 +04:00
|
|
|
{ label: 'Copy Path', command: 'editor:copy-path' }
|
2013-10-04 23:28:19 +04:00
|
|
|
{ label: 'Paste', command: 'core:paste' }
|
|
|
|
{ label: 'Select All', command: 'core:select-all' }
|
2013-10-18 00:42:14 +04:00
|
|
|
{ type: 'separator' }
|
2013-10-04 23:28:19 +04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
label: 'View'
|
|
|
|
submenu: [
|
|
|
|
{ label: 'Reload', command: 'window:reload' }
|
|
|
|
{ label: 'Toggle Full Screen', command: 'window:toggle-full-screen' }
|
2013-10-18 00:42:14 +04:00
|
|
|
{
|
|
|
|
label: 'Developer'
|
|
|
|
submenu: [
|
|
|
|
{ label: 'Open In Dev Mode...', command: 'application:open-dev' }
|
|
|
|
{ label: 'Run Atom Specs', command: 'application:run-all-specs' }
|
2013-10-18 01:30:35 +04:00
|
|
|
{ label: 'Run Package Specs', command: 'window:run-package-specs' }
|
2013-10-18 00:42:14 +04:00
|
|
|
{ label: 'Toggle Developer Tools', command: 'window:toggle-dev-tools' }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
{ type: 'separator' }
|
2013-10-18 22:33:22 +04:00
|
|
|
{ label: 'Toggle Soft Wrap', command: 'editor:toggle-soft-wrap' }
|
2013-10-04 23:28:19 +04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
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' }
|
|
|
|
]
|
|
|
|
}
|
2013-10-18 23:02:03 +04:00
|
|
|
|
|
|
|
{
|
|
|
|
label: 'Help'
|
|
|
|
submenu: [
|
|
|
|
{ label: 'Documentation', command: 'application:open-documentation' }
|
|
|
|
{ label: 'Report an Issue', command: 'application:report-issue' }
|
|
|
|
{ type: 'separator' }
|
|
|
|
]
|
|
|
|
}
|
2013-10-04 23:28:19 +04:00
|
|
|
]
|