2013-08-23 01:08:04 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"label": "File",
|
|
|
|
"sub": [
|
|
|
|
{ "label": "New File", "command": "session:new-file" },
|
|
|
|
{ "label": "Open File", "command": "session:open-file" },
|
|
|
|
{ "label": "Save", "command": "session:save-file" },
|
|
|
|
{ "label": "Save As", "command": "session:save-file-as" },
|
2013-09-16 18:58:37 +00:00
|
|
|
{ "label": "Revert", "command": "session:revert-file" },
|
2013-08-31 20:23:41 +00:00
|
|
|
{ "label": "Close", "command": "session:close-tab" },
|
2014-01-20 17:10:24 +00:00
|
|
|
{ "label": "Print", "command": "editor:print" },
|
2013-08-23 01:08:04 +00:00
|
|
|
{ "label": "Exit", "command": "app:exit" }
|
|
|
|
]
|
2013-09-04 19:45:51 +00:00
|
|
|
},
|
2013-09-06 03:01:24 +00:00
|
|
|
{
|
|
|
|
"label": "Edit",
|
|
|
|
"sub": [
|
2013-09-16 20:44:55 +00:00
|
|
|
{ "label": "Undo", "command": "ace:command", "argument": "undo" },
|
2013-09-06 03:01:24 +00:00
|
|
|
{ "label": "Redo", "command": "ace:command", "argument": "redo" },
|
|
|
|
"divider",
|
2014-02-20 17:00:29 +00:00
|
|
|
{ "label": "Insert from File", "command": "session:insert-from-file" },
|
2013-10-08 16:37:19 +00:00
|
|
|
{ "label": "Select Word", "command": "ace:command", "argument": "selectMoreAfter" },
|
2013-10-08 01:09:35 +00:00
|
|
|
{ "label": "Select Line", "command": "sublime:expand-to-line" },
|
|
|
|
{ "label": "Select Paragraph", "command": "sublime:expand-to-paragraph" },
|
|
|
|
{ "label": "Select to Matching", "command": "sublime:expand-to-matching" },
|
|
|
|
"divider",
|
2013-09-16 20:44:55 +00:00
|
|
|
{ "label": "Find", "command": "ace:command", "argument": "find" },
|
|
|
|
{ "label": "Find/Replace", "command": "ace:command", "argument": "replace" },
|
|
|
|
{ "label": "Find Next", "command": "ace:command", "argument": "findnext" },
|
|
|
|
"divider",
|
2013-09-06 03:01:24 +00:00
|
|
|
{ "label": "Toggle Comment", "command": "ace:command", "argument": "togglecomment" },
|
|
|
|
{ "label": "Block Comment", "command": "ace:command", "argument": "toggleBlockComment" },
|
2013-10-25 02:13:07 +00:00
|
|
|
{ "label": "Convert Tabs to Spaces", "command": "sublime:tabs-to-spaces" },
|
|
|
|
{ "label": "Convert Spaces to Tabs", "command": "sublime:spaces-to-tabs" },
|
2013-09-06 03:01:24 +00:00
|
|
|
"divider",
|
|
|
|
{ "label": "Sort Lines", "command": "ace:command", "argument": "sortlines" },
|
|
|
|
{ "label": "Split Line", "command": "ace:command", "argument": "splitline" },
|
|
|
|
{ "label": "To Uppercase", "command": "ace:command", "argument": "touppercase" },
|
2013-09-06 03:06:54 +00:00
|
|
|
{ "label": "To Lowercase", "command": "ace:command", "argument": "tolowercase" },
|
|
|
|
{ "label": "Move Lines Up", "command": "ace:command", "argument": "movelinesup" },
|
|
|
|
{ "label": "Move Lines Down", "command": "ace:command", "argument": "movelinesdown" }
|
2013-09-06 03:01:24 +00:00
|
|
|
]
|
|
|
|
},
|
2013-10-03 18:04:39 +00:00
|
|
|
{
|
|
|
|
"label": "Tools",
|
|
|
|
"sub": [
|
2013-11-09 00:32:11 +00:00
|
|
|
{ "label": "Go To Anything", "command": "palette:open", "retainFocus": true },
|
|
|
|
{ "label": "Go To Line", "command": "palette:open", "argument": "line", "retainFocus": true },
|
|
|
|
{ "label": "Go To Search", "command": "palette:open", "argument": "search", "retainFocus": true },
|
|
|
|
{ "label": "Go To Reference", "command": "palette:open", "argument": "reference", "retainFocus": true },
|
|
|
|
{ "label": "Command Palette", "command": "palette:open", "argument": "command", "retainFocus": true },
|
2013-10-03 18:04:39 +00:00
|
|
|
"divider",
|
|
|
|
{ "label": "Toggle Macro Recording", "command": "ace:togglemacro" },
|
2014-02-20 17:00:29 +00:00
|
|
|
{ "label": "Replay Macro", "command": "ace:command", "argument": "replaymacro" },
|
|
|
|
{ "label": "Word Count", "command": "editor:word-count" }
|
2013-10-03 18:04:39 +00:00
|
|
|
]
|
|
|
|
},
|
2013-11-04 00:28:17 +00:00
|
|
|
{
|
2013-11-01 23:24:57 +00:00
|
|
|
"label": "Project",
|
2013-11-04 00:28:17 +00:00
|
|
|
"minVersion": 31,
|
|
|
|
"sub": [
|
2013-11-04 01:17:28 +00:00
|
|
|
{ "label": "Add Directory", "command": "project:add-dir" },
|
2013-11-04 16:41:22 +00:00
|
|
|
{ "label": "Remove All Directories", "command": "project:remove-all" },
|
2013-11-06 02:46:16 +00:00
|
|
|
{ "label": "Refresh Directory", "command": "project:refresh-dir" },
|
2013-11-06 17:55:11 +00:00
|
|
|
"divider",
|
2013-11-06 20:02:20 +00:00
|
|
|
{ "label": "Save Project File", "command": "project:generate" },
|
|
|
|
{ "label": "Edit Current Project File", "command": "project:edit" },
|
2013-11-06 02:52:00 +00:00
|
|
|
{ "label": "Open Project File", "command": "project:open" },
|
|
|
|
{ "label": "Clear Project", "command": "project:clear" }
|
2013-11-04 00:28:17 +00:00
|
|
|
]
|
|
|
|
},
|
2013-09-03 15:47:59 +00:00
|
|
|
{
|
|
|
|
"label": "Settings",
|
|
|
|
"sub": [
|
2013-09-13 20:26:46 +00:00
|
|
|
{ "label": "User Preferences", "command": "session:open-settings-file", "argument": "user" },
|
2013-09-03 15:47:59 +00:00
|
|
|
{ "label": "Keyboard", "command": "session:open-settings-file", "argument": "keys" },
|
2013-09-04 17:01:12 +00:00
|
|
|
{ "label": "Menus", "command": "session:open-settings-file", "argument": "menus" },
|
2013-12-02 23:38:12 +00:00
|
|
|
{ "label": "External Commands", "command": "session:open-settings-file", "argument": "api" },
|
2013-09-04 17:01:12 +00:00
|
|
|
"divider",
|
2013-09-13 20:26:46 +00:00
|
|
|
{ "label": "View Defaults",
|
|
|
|
"sub": [
|
2013-09-20 15:57:43 +00:00
|
|
|
{ "label": "User Preferences", "command": "session:open-settings-defaults", "argument": "user", "palette": "User Preferences (Defaults)" },
|
|
|
|
{ "label": "Keyboard", "command": "session:open-settings-defaults", "argument": "keys", "palette": "Keyboard (Defaults)" },
|
|
|
|
{ "label": "Menus", "command": "session:open-settings-defaults", "argument": "menus", "palette": "Menus (Defaults)" }
|
2013-09-13 20:26:46 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{ "label": "Reset",
|
2013-09-04 17:01:12 +00:00
|
|
|
"sub": [
|
2013-09-20 15:57:43 +00:00
|
|
|
{ "label": "User Preferences", "command": "settings:delete-local", "argument": "user", "palette": "Reset User Preferences" },
|
|
|
|
{ "label": "Keyboard", "command": "settings:delete-local", "argument": "keys", "palette": "Reset Keyboard" },
|
|
|
|
{ "label": "Menus", "command": "settings:delete-local", "argument": "menus", "palette": "Reset Menus" }
|
2013-09-04 17:01:12 +00:00
|
|
|
]
|
2013-09-06 07:04:20 +00:00
|
|
|
},
|
|
|
|
"divider",
|
2013-09-15 17:28:55 +00:00
|
|
|
{ "label": "Help", "command": "session:open-settings-defaults", "argument": "help" },
|
2013-11-06 20:18:50 +00:00
|
|
|
{ "label": "Check for Updates", "command": "app:check-for-updates", "argument": "manual" },
|
2013-10-08 18:15:52 +00:00
|
|
|
{ "label": "About Caret", "command": "app:about", "retainFocus": true }
|
2013-09-03 15:47:59 +00:00
|
|
|
]
|
|
|
|
}
|
2013-08-23 01:08:04 +00:00
|
|
|
|
|
|
|
]
|