2013-10-04 23:28:19 +04:00
|
|
|
'menu': [
|
|
|
|
{
|
|
|
|
label: 'Atom'
|
|
|
|
submenu: [
|
|
|
|
{ label: 'About Atom', command: 'application:about' }
|
2014-02-22 00:10:27 +04:00
|
|
|
{ label: 'View License', command: 'application:open-license' }
|
2014-04-08 01:17:44 +04:00
|
|
|
{ label: 'VERSION', enabled: false }
|
2014-04-08 02:04:06 +04:00
|
|
|
{ label: 'Restart and Install Update', command: 'application:install-update', visible: false}
|
2014-04-08 01:17:44 +04:00
|
|
|
{ label: 'Check for Update', command: 'application:check-for-update', visible: false}
|
2015-02-19 00:45:17 +03:00
|
|
|
{ label: 'Checking for Update', enabled: false, visible: false}
|
2014-04-08 01:17:44 +04:00
|
|
|
{ label: 'Downloading Update', enabled: false, visible: false}
|
2013-10-04 23:28:19 +04:00
|
|
|
{ type: 'separator' }
|
2015-07-01 15:02:15 +03:00
|
|
|
{ label: 'Preferences…', command: 'application:show-settings' }
|
2016-01-07 13:51:54 +03:00
|
|
|
{ type: 'separator' }
|
|
|
|
{ label: 'Config…', command: 'application:open-your-config' }
|
|
|
|
{ label: 'Init Script…', command: 'application:open-your-init-script' }
|
|
|
|
{ label: 'Keymap…', command: 'application:open-your-keymap' }
|
|
|
|
{ label: 'Snippets…', command: 'application:open-your-snippets' }
|
|
|
|
{ label: 'Stylesheet…', command: 'application:open-your-stylesheet' }
|
2013-10-18 00:42:14 +04:00
|
|
|
{ type: 'separator' }
|
2014-01-23 03:33:32 +04:00
|
|
|
{ label: 'Install Shell Commands', command: 'window:install-shell-commands' }
|
|
|
|
{ type: 'separator' }
|
2015-11-09 23:43:11 +03:00
|
|
|
{ label: 'Services', role: 'services', submenu: [] }
|
2014-09-07 08:31:45 +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' }
|
2015-07-01 15:02:15 +03:00
|
|
|
{ label: 'Open…', command: 'application:open' }
|
|
|
|
{ label: 'Add Project Folder…', command: 'application:add-project-folder' }
|
2016-10-20 08:50:24 +03:00
|
|
|
{
|
|
|
|
label: 'Reopen Project',
|
|
|
|
submenu: [
|
|
|
|
{ label: 'Clear Project History', command: 'application:clear-project-history' }
|
|
|
|
{ type: 'separator' }
|
|
|
|
]
|
|
|
|
}
|
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' }
|
2015-07-01 15:02:15 +03:00
|
|
|
{ label: 'Save As…', command: 'core:save-as' }
|
2013-10-18 00:42:14 +04:00
|
|
|
{ label: 'Save All', command: 'window:save-all' }
|
|
|
|
{ type: 'separator' }
|
2014-07-24 00:55:29 +04:00
|
|
|
{ label: 'Close Tab', command: 'core:close' }
|
2014-03-12 00:22:03 +04:00
|
|
|
{ label: 'Close Pane', 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-19 02:20:02 +04:00
|
|
|
{ label: 'Toggle Comments', command: 'editor:toggle-line-comments' }
|
2013-10-19 01:42:25 +04:00
|
|
|
{
|
|
|
|
label: 'Lines',
|
|
|
|
submenu: [
|
|
|
|
{ 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-10-19 01:42:25 +04:00
|
|
|
{ label: 'Move Line Up', command: 'editor:move-line-up' }
|
|
|
|
{ label: 'Move Line Down', command: 'editor:move-line-down' }
|
2014-03-07 01:55:08 +04:00
|
|
|
{ label: 'Duplicate Lines', command: 'editor:duplicate-lines' }
|
2013-10-19 01:42:25 +04:00
|
|
|
{ label: 'Delete Line', command: 'editor:delete-line' }
|
2014-02-26 00:52:13 +04:00
|
|
|
{ label: 'Join Lines', command: 'editor:join-lines' }
|
2013-10-19 01:42:25 +04:00
|
|
|
]
|
|
|
|
}
|
2015-05-04 03:25:47 +03:00
|
|
|
{
|
|
|
|
label: 'Columns',
|
|
|
|
submenu: [
|
|
|
|
{ label: 'Move Selection Left', command: 'editor:move-selection-left' }
|
|
|
|
{ label: 'Move Selection Right', command: 'editor:move-selection-right' }
|
|
|
|
]
|
|
|
|
}
|
2013-10-19 02:20:02 +04:00
|
|
|
{
|
|
|
|
label: 'Text',
|
|
|
|
submenu: [
|
|
|
|
{ label: 'Upper Case', command: 'editor:upper-case' }
|
|
|
|
{ label: 'Lower Case', command: 'editor:lower-case' }
|
|
|
|
{ type: 'separator' }
|
|
|
|
{ label: 'Delete to End of Word', command: 'editor:delete-to-end-of-word' }
|
2015-03-25 03:50:16 +03:00
|
|
|
{ label: 'Delete to Previous Word Boundary', command: 'editor:delete-to-previous-word-boundary' }
|
|
|
|
{ label: 'Delete to Next Word Boundary', command: 'editor:delete-to-next-word-boundary' }
|
2013-10-19 02:20:02 +04:00
|
|
|
{ label: 'Delete Line', command: 'editor:delete-line' }
|
|
|
|
{ type: 'separator' }
|
|
|
|
{ label: 'Transpose', command: 'editor:transpose' }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label: 'Folding',
|
|
|
|
submenu: [
|
|
|
|
{ label: 'Fold', command: 'editor:fold-current-row' }
|
|
|
|
{ label: 'Unfold', command: 'editor:unfold-current-row' }
|
2016-11-20 04:21:02 +03:00
|
|
|
{ label: 'Fold All', command: 'editor:fold-all' }
|
2013-10-19 02:20:02 +04:00
|
|
|
{ label: 'Unfold All', command: 'editor:unfold-all' }
|
|
|
|
{ type: 'separator' }
|
|
|
|
{ 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
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
label: 'View'
|
|
|
|
submenu: [
|
|
|
|
{ label: 'Toggle Full Screen', command: 'window:toggle-full-screen' }
|
2014-05-01 00:57:37 +04:00
|
|
|
{
|
|
|
|
label: 'Panes'
|
|
|
|
submenu: [
|
2016-08-12 12:10:37 +03:00
|
|
|
{ label: 'Split Up', command: 'pane:split-up-and-copy-active-item' }
|
|
|
|
{ label: 'Split Down', command: 'pane:split-down-and-copy-active-item' }
|
|
|
|
{ label: 'Split Left', command: 'pane:split-left-and-copy-active-item' }
|
|
|
|
{ label: 'Split Right', command: 'pane:split-right-and-copy-active-item' }
|
2014-05-01 00:57:37 +04:00
|
|
|
{ type: 'separator' }
|
|
|
|
{ label: 'Focus Next Pane', command: 'window:focus-next-pane' }
|
|
|
|
{ label: 'Focus Previous Pane', command: 'window:focus-previous-pane' }
|
|
|
|
{ type: 'separator' }
|
|
|
|
{ label: 'Focus Pane Above', command: 'window:focus-pane-above' }
|
|
|
|
{ label: 'Focus Pane Below', command: 'window:focus-pane-below' }
|
|
|
|
{ label: 'Focus Pane On Left', command: 'window:focus-pane-on-left' }
|
|
|
|
{ label: 'Focus Pane On Right', command: 'window:focus-pane-on-right' }
|
|
|
|
{ type: 'separator' }
|
2014-05-01 01:10:41 +04:00
|
|
|
{ label: 'Close Pane', command: 'pane:close' }
|
2014-05-01 00:57:37 +04:00
|
|
|
]
|
|
|
|
}
|
2013-10-18 00:42:14 +04:00
|
|
|
{
|
|
|
|
label: 'Developer'
|
|
|
|
submenu: [
|
2015-07-01 15:02:15 +03:00
|
|
|
{ label: 'Open In Dev Mode…', command: 'application:open-dev' }
|
2016-01-08 05:51:26 +03:00
|
|
|
{ label: 'Reload Window', command: 'window:reload' }
|
2013-10-18 01:30:35 +04:00
|
|
|
{ label: 'Run Package Specs', command: 'window:run-package-specs' }
|
2016-10-13 20:52:02 +03:00
|
|
|
{ label: 'Run Benchmarks', command: 'window:run-benchmarks' }
|
2013-10-18 00:42:14 +04:00
|
|
|
{ label: 'Toggle Developer Tools', command: 'window:toggle-dev-tools' }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
{ type: 'separator' }
|
2015-04-27 06:52:48 +03:00
|
|
|
{ label: 'Increase Font Size', command: 'window:increase-font-size' }
|
|
|
|
{ label: 'Decrease Font Size', command: 'window:decrease-font-size' }
|
|
|
|
{ label: 'Reset Font Size', command: 'window:reset-font-size' }
|
|
|
|
{ type: 'separator' }
|
2014-09-16 00:34:22 +04:00
|
|
|
{ label: 'Toggle Soft Wrap', command: 'editor:toggle-soft-wrap' }
|
2013-10-04 23:28:19 +04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2016-01-08 20:00:24 +03:00
|
|
|
{
|
|
|
|
label: 'Selection'
|
|
|
|
submenu: [
|
|
|
|
{ label: 'Add Selection Above', command: 'editor:add-selection-above' }
|
|
|
|
{ label: 'Add Selection Below', command: 'editor:add-selection-below' }
|
|
|
|
{ label: 'Single Selection', command: 'editor:consolidate-selections'}
|
|
|
|
{ label: 'Split into Lines', command: 'editor:split-selections-into-lines'}
|
|
|
|
{ type: 'separator' }
|
|
|
|
{ label: 'Select to Top', command: 'core:select-to-top' }
|
|
|
|
{ label: 'Select to Bottom', command: 'core:select-to-bottom' }
|
|
|
|
{ type: 'separator' }
|
|
|
|
{ label: 'Select Line', command: 'editor:select-line' }
|
|
|
|
{ label: 'Select Word', command: 'editor:select-word' }
|
|
|
|
{ label: 'Select to Beginning of Word', command: 'editor:select-to-beginning-of-word' }
|
|
|
|
{ label: 'Select to Beginning of Line', 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 Word', command: 'editor:select-to-end-of-word' }
|
|
|
|
{ label: 'Select to End of Line', command: 'editor:select-to-end-of-line' }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
label: 'Find'
|
|
|
|
submenu: []
|
|
|
|
}
|
|
|
|
|
2013-10-23 02:26:57 +04:00
|
|
|
{
|
|
|
|
label: 'Packages'
|
|
|
|
submenu: []
|
|
|
|
}
|
|
|
|
|
2013-10-04 23:28:19 +04:00
|
|
|
{
|
|
|
|
label: 'Window'
|
2015-11-09 23:43:11 +03:00
|
|
|
role: 'window'
|
2013-10-04 23:28:19 +04:00
|
|
|
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'
|
2015-11-09 23:43:11 +03:00
|
|
|
role: 'help'
|
2013-10-18 23:02:03 +04:00
|
|
|
submenu: [
|
2014-05-14 21:44:33 +04:00
|
|
|
{ label: 'Terms of Use', command: 'application:open-terms-of-use' }
|
2013-10-18 23:02:03 +04:00
|
|
|
{ label: 'Documentation', command: 'application:open-documentation' }
|
2014-10-29 19:26:06 +03:00
|
|
|
{ label: 'Frequently Asked Questions', command: 'application:open-faq' }
|
2014-10-30 19:09:44 +03:00
|
|
|
{ type: 'separator' }
|
|
|
|
{ label: 'Community Discussions', command: 'application:open-discussions' }
|
2014-10-29 19:28:49 +03:00
|
|
|
{ label: 'Report Issue', command: 'application:report-issue' }
|
2014-10-30 19:06:54 +03:00
|
|
|
{ label: 'Search Issues', command: 'application:search-issues' }
|
2013-10-18 23:02:03 +04:00
|
|
|
{ type: 'separator' }
|
|
|
|
]
|
|
|
|
}
|
2013-10-04 23:28:19 +04:00
|
|
|
]
|
2014-08-27 15:55:44 +04:00
|
|
|
|
|
|
|
'context-menu':
|
2014-12-17 02:15:28 +03:00
|
|
|
'atom-text-editor, .overlayer': [
|
2014-09-30 02:32:50 +04:00
|
|
|
{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: 'Delete', command: 'core:delete'}
|
|
|
|
{label: 'Select All', command: 'core:select-all'}
|
|
|
|
{type: 'separator'}
|
2016-04-16 21:00:46 +03:00
|
|
|
{label: 'Split Up', command: 'pane:split-up-and-copy-active-item'}
|
|
|
|
{label: 'Split Down', command: 'pane:split-down-and-copy-active-item'}
|
|
|
|
{label: 'Split Left', command: 'pane:split-left-and-copy-active-item'}
|
|
|
|
{label: 'Split Right', command: 'pane:split-right-and-copy-active-item'}
|
2015-03-14 23:30:17 +03:00
|
|
|
{label: 'Close Pane', command: 'pane:close'}
|
2014-09-30 02:32:50 +04:00
|
|
|
{type: 'separator'}
|
|
|
|
]
|
2014-10-08 21:36:07 +04:00
|
|
|
'atom-pane': [
|
2014-09-30 21:53:24 +04:00
|
|
|
{type: 'separator'}
|
2016-08-30 03:18:56 +03:00
|
|
|
{label: 'Split Up', command: 'pane:split-up-and-copy-active-item'}
|
|
|
|
{label: 'Split Down', command: 'pane:split-down-and-copy-active-item'}
|
|
|
|
{label: 'Split Left', command: 'pane:split-left-and-copy-active-item'}
|
|
|
|
{label: 'Split Right', command: 'pane:split-right-and-copy-active-item'}
|
2015-03-14 20:52:50 +03:00
|
|
|
{label: 'Close Pane', command: 'pane:close'}
|
2014-09-30 21:53:24 +04:00
|
|
|
{type: 'separator'}
|
|
|
|
]
|