2013-10-04 23:28:19 +04:00
|
|
|
'menu': [
|
|
|
|
{
|
2013-11-14 22:39:31 +04:00
|
|
|
label: '&File'
|
2013-10-04 23:28:19 +04:00
|
|
|
submenu: [
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: 'New &Window', command: 'application:new-window' }
|
|
|
|
{ label: '&New File', command: 'application:new-file' }
|
|
|
|
{ label: '&Open...', command: 'application:open' }
|
|
|
|
{ label: 'Reopen Last &Item', command: 'pane:reopen-closed-item' }
|
2013-10-04 23:28:19 +04:00
|
|
|
{ type: 'separator' }
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: '&Preferences...', command: 'application:show-settings' }
|
2013-11-14 22:15:23 +04:00
|
|
|
{ type: 'separator' }
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: '&Save', command: 'core:save' }
|
|
|
|
{ label: 'Save &As...', command: 'core:save-as' }
|
|
|
|
{ label: 'Save A&ll', command: 'window:save-all' }
|
2013-10-18 00:42:14 +04:00
|
|
|
{ type: 'separator' }
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: '&Close Buffer', command: 'core:close' }
|
|
|
|
{ label: 'Close All &Buffers', command: 'pane:close' }
|
|
|
|
{ label: 'Clos&e Window', command: 'window:close' }
|
2013-11-14 22:15:23 +04:00
|
|
|
{ type: 'separator' }
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: 'E&xit', command: 'application:quit' }
|
2013-10-04 23:28:19 +04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
2013-11-14 22:39:31 +04:00
|
|
|
label: '&Edit'
|
2013-10-04 23:28:19 +04:00
|
|
|
submenu: [
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: '&Undo', command: 'core:undo' }
|
|
|
|
{ label: '&Redo', command: 'core:redo' }
|
2013-10-04 23:28:19 +04:00
|
|
|
{ type: 'separator' }
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: '&Cut', command: 'core:cut' }
|
|
|
|
{ label: 'C&opy', command: 'core:copy' }
|
|
|
|
{ label: 'Copy Pat&h', command: 'editor:copy-path' }
|
|
|
|
{ label: '&Paste', command: 'core:paste' }
|
|
|
|
{ label: 'Select &All', command: 'core:select-all' }
|
2013-10-18 00:42:14 +04:00
|
|
|
{ type: 'separator' }
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: '&Toggle Comments', command: 'editor:toggle-line-comments' }
|
2013-10-19 01:42:25 +04:00
|
|
|
{
|
|
|
|
label: 'Lines',
|
|
|
|
submenu: [
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: '&Indent', command: 'editor:indent-selected-rows' }
|
|
|
|
{ label: '&Outdent', command: 'editor:outdent-selected-rows' }
|
|
|
|
{ label: '&Auto Indent', command: 'editor:auto-indent' }
|
2013-10-19 02:20:02 +04:00
|
|
|
{ type: 'separator' }
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: 'Move Line &Up', command: 'editor:move-line-up' }
|
|
|
|
{ label: 'Move Line &Down', command: 'editor:move-line-down' }
|
|
|
|
{ label: 'Du&plicate Line', command: 'editor:duplicate-line' }
|
|
|
|
{ label: 'D&elete Line', command: 'editor:delete-line' }
|
|
|
|
{ label: '&Join Lines', command: 'editor:join-line' }
|
2013-10-19 01:42:25 +04:00
|
|
|
]
|
|
|
|
}
|
2013-10-19 02:20:02 +04:00
|
|
|
{
|
|
|
|
label: 'Text',
|
|
|
|
submenu: [
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: '&Upper Case', command: 'editor:upper-case' }
|
|
|
|
{ label: '&Lower Case', command: 'editor:lower-case' }
|
2013-10-19 02:20:02 +04:00
|
|
|
{ type: 'separator' }
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: 'Delete to End of &Word', command: 'editor:delete-to-end-of-word' }
|
|
|
|
{ label: '&Delete Line', command: 'editor:delete-line' }
|
2013-10-19 02:20:02 +04:00
|
|
|
{ type: 'separator' }
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: '&Transpose', command: 'editor:transpose' }
|
2013-10-19 02:20:02 +04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label: 'Folding',
|
|
|
|
submenu: [
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: '&Fold', command: 'editor:fold-current-row' }
|
|
|
|
{ label: '&Unfold', command: 'editor:unfold-current-row' }
|
|
|
|
{ label: 'Unfold &All', command: 'editor:unfold-all' }
|
2013-10-19 02:20:02 +04:00
|
|
|
{ type: 'separator' }
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: 'Fol&d All', command: 'editor:fold-all' }
|
2013-10-19 02:20:02 +04:00
|
|
|
{ label: 'Fold Level 1', command: 'editor:fold-at-indent-level-1' }
|
|
|
|
{ label: 'Fold Level 2', command: 'editor:fold-at-indent-level-2' }
|
|
|
|
{ label: 'Fold Level 3', command: 'editor:fold-at-indent-level-3' }
|
|
|
|
{ label: 'Fold Level 4', command: 'editor:fold-at-indent-level-4' }
|
|
|
|
{ label: 'Fold Level 5', command: 'editor:fold-at-indent-level-5' }
|
|
|
|
{ label: 'Fold Level 6', command: 'editor:fold-at-indent-level-6' }
|
|
|
|
{ label: 'Fold Level 7', command: 'editor:fold-at-indent-level-7' }
|
|
|
|
{ label: 'Fold Level 8', command: 'editor:fold-at-indent-level-8' }
|
|
|
|
{ label: 'Fold Level 9', command: 'editor:fold-at-indent-level-9' }
|
|
|
|
]
|
|
|
|
}
|
2013-10-04 23:28:19 +04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2013-11-14 22:15:23 +04:00
|
|
|
{
|
2013-11-14 22:39:31 +04:00
|
|
|
label: '&View'
|
2013-11-14 22:15:23 +04:00
|
|
|
submenu: [
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: '&Reload', command: 'window:reload' }
|
|
|
|
{ label: 'Toggle &Full Screen', command: 'window:toggle-full-screen' }
|
2013-11-14 22:15:23 +04:00
|
|
|
{
|
|
|
|
label: 'Developer'
|
|
|
|
submenu: [
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: 'Open In &Dev Mode...', command: 'application:open-dev' }
|
|
|
|
{ label: 'Run &Atom Specs', command: 'application:run-all-specs' }
|
|
|
|
{ label: 'Run Package &Specs', command: 'window:run-package-specs' }
|
|
|
|
{ label: 'Toggle Developer &Tools', command: 'window:toggle-dev-tools' }
|
2013-11-14 22:15:23 +04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
{ type: 'separator' }
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: 'Toggle Soft &Wrap', command: 'editor:toggle-soft-wrap' }
|
2013-11-14 22:15:23 +04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2013-10-19 02:28:49 +04:00
|
|
|
{
|
2013-11-14 22:39:31 +04:00
|
|
|
label: '&Selection'
|
2013-10-19 02:28:49 +04:00
|
|
|
submenu: [
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: 'Add Selection &Above', command: 'editor:add-selection-above' }
|
|
|
|
{ label: 'Add Selection &Below', command: 'editor:add-selection-below' }
|
2014-01-09 03:45:09 +04:00
|
|
|
{ label: 'S&plit into Lines', command: 'editor:split-selections-into-lines'}
|
2013-10-19 02:28:49 +04:00
|
|
|
{ type: 'separator' }
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: 'Select to &Top', command: 'core:select-to-top' }
|
|
|
|
{ label: 'Select to Botto&m', command: 'core:select-to-bottom' }
|
2013-10-19 02:28:49 +04:00
|
|
|
{ type: 'separator' }
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: 'Select &Line', command: 'editor:select-line' }
|
|
|
|
{ label: 'Select &Word', command: 'editor:select-word' }
|
|
|
|
{ label: 'Select to Beginning of W&ord', command: 'editor:select-to-beginning-of-word' }
|
|
|
|
{ label: 'Select to Beginning of L&ine', command: 'editor:select-to-beginning-of-line' }
|
|
|
|
{ label: 'Select to First &Character of Line', command: 'editor:select-to-first-character-of-line' }
|
|
|
|
{ label: 'Select to End of Wor&d', command: 'editor:select-to-end-of-word' }
|
|
|
|
{ label: 'Select to End of Lin&e', command: 'editor:select-to-end-of-line' }
|
2013-10-19 02:28:49 +04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2013-10-23 02:26:57 +04:00
|
|
|
{
|
2013-11-14 22:39:31 +04:00
|
|
|
label: 'F&ind'
|
2013-10-23 02:26:57 +04:00
|
|
|
submenu: []
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
2013-11-14 22:39:31 +04:00
|
|
|
label: '&Packages'
|
2013-10-23 02:26:57 +04:00
|
|
|
submenu: []
|
|
|
|
}
|
|
|
|
|
2013-10-04 23:28:19 +04:00
|
|
|
{
|
2013-11-14 22:39:31 +04:00
|
|
|
label: '&Window'
|
2013-10-04 23:28:19 +04:00
|
|
|
submenu: [
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: 'Mi&nimize', command: 'application:minimize' }
|
|
|
|
{ label: 'Ma&ximize', command: 'application:zoom' }
|
2013-10-04 23:28:19 +04:00
|
|
|
{ type: 'separator' }
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: 'Bring &All to Front', command: 'application:bring-all-windows-to-front' }
|
2013-10-04 23:28:19 +04:00
|
|
|
]
|
|
|
|
}
|
2013-10-18 23:02:03 +04:00
|
|
|
|
|
|
|
{
|
2013-11-14 22:39:31 +04:00
|
|
|
label: '&Help'
|
2013-10-18 23:02:03 +04:00
|
|
|
submenu: [
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: '&About Atom...', command: 'application:about' }
|
2013-11-14 22:15:23 +04:00
|
|
|
{ label: "VERSION", enabled: false }
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: "Install &update", command: 'application:install-update', visible: false }
|
2013-11-14 22:15:23 +04:00
|
|
|
{ type: 'separator' }
|
2013-11-15 01:25:58 +04:00
|
|
|
{ label: '&Documentation', command: 'application:open-documentation' }
|
2013-10-18 23:02:03 +04:00
|
|
|
{ type: 'separator' }
|
|
|
|
]
|
|
|
|
}
|
2013-10-04 23:28:19 +04:00
|
|
|
]
|