Caret/config/menus.json

101 lines
5.2 KiB
JSON
Raw Normal View History

[
{
"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" },
{ "label": "Exit", "command": "app:exit" }
]
},
{
"label": "Edit",
"sub": [
{ "label": "Undo", "command": "ace:command", "argument": "undo" },
{ "label": "Redo", "command": "ace:command", "argument": "redo" },
"divider",
{ "label": "Insert from File", "command": "session:insert-from-file" },
{ "label": "Select Word", "command": "ace:command", "argument": "selectMoreAfter" },
{ "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",
{ "label": "Find", "command": "ace:command", "argument": "find" },
{ "label": "Find/Replace", "command": "ace:command", "argument": "replace" },
{ "label": "Find Next", "command": "ace:command", "argument": "findnext" },
"divider",
{ "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" },
"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" }
]
},
{
"label": "Tools",
"sub": [
{ "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 },
"divider",
{ "label": "Toggle Macro Recording", "command": "ace:togglemacro" },
{ "label": "Replay Macro", "command": "ace:command", "argument": "replaymacro" },
{ "label": "Word Count", "command": "editor:word-count" }
]
},
2013-11-04 00:28:17 +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" },
{ "label": "Refresh Directory", "command": "project:refresh-dir" },
"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
]
},
{
"label": "Settings",
"sub": [
{ "label": "User Preferences", "command": "session:open-settings-file", "argument": "user" },
{ "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" },
{ "label": "External Commands", "command": "session:open-settings-file", "argument": "api" },
2013-09-04 17:01:12 +00:00
"divider",
{ "label": "View Defaults",
"sub": [
{ "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)" }
]
},
{ "label": "Reset",
2013-09-04 17:01:12 +00:00
"sub": [
{ "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
]
},
"divider",
{ "label": "Help", "command": "session:open-settings-defaults", "argument": "help" },
{ "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 }
]
}
]