f5467f1b6c
show status bar toasts. Fixes #141.
101 lines
No EOL
5.2 KiB
JSON
101 lines
No EOL
5.2 KiB
JSON
[
|
|
{
|
|
"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" },
|
|
{ "label": "Revert", "command": "session:revert-file" },
|
|
{ "label": "Close", "command": "session:close-tab" },
|
|
{ "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" },
|
|
{ "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" },
|
|
{ "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" }
|
|
]
|
|
},
|
|
{
|
|
"label": "Project",
|
|
"minVersion": 31,
|
|
"sub": [
|
|
{ "label": "Add Directory", "command": "project:add-dir" },
|
|
{ "label": "Remove All Directories", "command": "project:remove-all" },
|
|
{ "label": "Refresh Directory", "command": "project:refresh-dir" },
|
|
"divider",
|
|
{ "label": "Save Project File", "command": "project:generate" },
|
|
{ "label": "Edit Current Project File", "command": "project:edit" },
|
|
{ "label": "Open Project File", "command": "project:open" },
|
|
{ "label": "Clear Project", "command": "project:clear" }
|
|
]
|
|
},
|
|
{
|
|
"label": "Settings",
|
|
"sub": [
|
|
{ "label": "User Preferences", "command": "session:open-settings-file", "argument": "user" },
|
|
{ "label": "Keyboard", "command": "session:open-settings-file", "argument": "keys" },
|
|
{ "label": "Menus", "command": "session:open-settings-file", "argument": "menus" },
|
|
{ "label": "External Commands", "command": "session:open-settings-file", "argument": "api" },
|
|
"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",
|
|
"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" }
|
|
]
|
|
},
|
|
"divider",
|
|
{ "label": "Help", "command": "session:open-settings-defaults", "argument": "help" },
|
|
{ "label": "Check for Updates", "command": "app:check-for-updates", "argument": "manual" },
|
|
{ "label": "About Caret", "command": "app:about", "retainFocus": true }
|
|
]
|
|
}
|
|
|
|
] |