862 lines
No EOL
25 KiB
Text
862 lines
No EOL
25 KiB
Text
{
|
|
|
|
// "jupyter.lab.menus": {
|
|
"menus": [
|
|
|
|
{ "disabled": true, "id": "jp-mainmenu-file"},
|
|
|
|
{ "disabled": true, "id": "jp-mainmenu-run"},
|
|
|
|
{ "disabled": true, "id": "jp-mainmenu-kernel"},
|
|
|
|
{ "disabled": true, "id": "jp-mainmenu-tabs"},
|
|
|
|
{ "disabled": true, "id": "jp-mainmenu-view"},
|
|
|
|
// { "disabled": true, "id": "jp-mainmenu-settings"},
|
|
|
|
|
|
|
|
{ "disabled": false, "id": "jp-mainmenu-file2",
|
|
"items": [
|
|
{
|
|
"command": "launcher:create",
|
|
"rank": 5
|
|
},
|
|
{
|
|
"type": "submenu",
|
|
"submenu": {
|
|
"id": "jp-mainmenu-file-new",
|
|
"label": "New",
|
|
"items": [
|
|
{
|
|
"command": "console:create",
|
|
"rank": 20
|
|
},
|
|
{
|
|
"command": "notebook:create-new",
|
|
"rank": 10
|
|
},
|
|
{
|
|
"command": "terminal:create-new",
|
|
"rank": 10
|
|
},
|
|
{
|
|
"command": "fileeditor:create-new",
|
|
"rank": 10
|
|
},
|
|
{
|
|
"command": "fileeditor:create-new-markdown-file",
|
|
"rank": 10
|
|
}
|
|
]
|
|
},
|
|
"rank": 1
|
|
},
|
|
{
|
|
"command": "docmanager:save",
|
|
"rank": 13
|
|
},
|
|
{
|
|
"command": "docmanager:save-as",
|
|
"rank": 14
|
|
},
|
|
{
|
|
"type": "submenu",
|
|
"rank": 20,
|
|
"submenu": {
|
|
"id": "jp-mainmenu-file-workspaces",
|
|
"label": "Workspaces",
|
|
"items": [
|
|
{
|
|
"command": "workspace-ui:open",
|
|
"rank": 0
|
|
},
|
|
{
|
|
"command": "workspace-ui:create-new",
|
|
"rank": 1
|
|
},
|
|
{
|
|
"command": "workspace-ui:clone",
|
|
"rank": 2
|
|
},
|
|
{
|
|
"command": "workspace-ui:rename",
|
|
"rank": 3
|
|
},
|
|
{
|
|
"command": "workspace-ui:save",
|
|
"rank": 4
|
|
},
|
|
{
|
|
"command": "workspace-ui:save-as",
|
|
"rank": 5
|
|
},
|
|
{
|
|
"command": "workspace-ui:import",
|
|
"rank": 6
|
|
},
|
|
{
|
|
"command": "workspace-ui:export",
|
|
"rank": 7
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 8
|
|
},
|
|
{
|
|
"command": "workspace-ui:reset",
|
|
"rank": 9
|
|
},
|
|
{
|
|
"command": "workspace-ui:delete",
|
|
"rank": 10
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "filemenu:shutdown",
|
|
"rank": 99
|
|
}
|
|
],
|
|
"label": "File",
|
|
"mnemonic": -1,
|
|
"rank": 1
|
|
},
|
|
|
|
{ "disabled": false, "id": "jp-mainmenu-edit",
|
|
"items": [
|
|
{
|
|
"command": "editmenu:undo",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "editmenu:redo",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "editmenu:clear-current",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "editmenu:clear-all",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "editmenu:go-to-line",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "notebook:undo-cell-action",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "notebook:redo-cell-action",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "notebook:cut-cell",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "notebook:copy-cell",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "notebook:paste-cell-below",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "notebook:paste-cell-above",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "notebook:paste-and-replace-cell",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "notebook:delete-cell",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "notebook:select-all",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "notebook:deselect-all",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "notebook:move-cell-up",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "notebook:move-cell-down",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "notebook:split-cell-at-cursor",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "notebook:merge-cells",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "notebook:merge-cell-above",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"command": "notebook:merge-cell-below",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 20
|
|
},
|
|
{
|
|
"type": "submenu",
|
|
"submenu": {
|
|
"id": "jp-mainmenu-text_edit:empty",
|
|
"label": "Shortcut Reminders",
|
|
"items": [
|
|
{ "type": "submenu",
|
|
"submenu": {
|
|
"id": "jp-mainmenu-text_edit:empty2",
|
|
"label": "Use Shortcuts, Not These Menu Items",
|
|
"items": [ ]},
|
|
"rank": 0},
|
|
{
|
|
"command": "filebrowser:copy",
|
|
"rank": 200
|
|
},
|
|
{
|
|
"command": "filebrowser:cut",
|
|
"rank": 210
|
|
},
|
|
{
|
|
"command": "filebrowser:paste",
|
|
"rank": 220
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"label": "Edit",
|
|
"mnemonic": -1,
|
|
"rank": 2
|
|
},
|
|
|
|
|
|
{ "disabled": false, "id": "jp-mainmenu-cell",
|
|
"items": [
|
|
{
|
|
"command": "notebook:cut-cell",
|
|
"rank": 5
|
|
},
|
|
{
|
|
"command": "notebook:copy-cell",
|
|
"rank": 5
|
|
},
|
|
{
|
|
"command": "notebook:paste-cell-below",
|
|
"rank": 5
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 10
|
|
},
|
|
{
|
|
"command": "notebook:undo-cell-action",
|
|
"rank": 15
|
|
},
|
|
{
|
|
"command": "notebook:redo-cell-action",
|
|
"rank": 17
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 20
|
|
},
|
|
{
|
|
"command": "notebook:insert-cell-above",
|
|
"rank": 25
|
|
},
|
|
{
|
|
"command": "notebook:insert-cell-below",
|
|
"rank": 27
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 30
|
|
},
|
|
{
|
|
"command": "notebook:merge-cell-below",
|
|
"rank": 33
|
|
},
|
|
{
|
|
"command": "notebook:split-cell-at-cursor",
|
|
"rank": 36
|
|
},
|
|
|
|
{
|
|
"type": "separator",
|
|
"rank": 40
|
|
},
|
|
{
|
|
"command": "notebook:change-cell-to-markdown",
|
|
"rank": 43
|
|
},
|
|
{
|
|
"command": "notebook:change-cell-to-code",
|
|
"rank": 46
|
|
},
|
|
{
|
|
"command": "notebook:change-cell-to-raw",
|
|
"rank": 48
|
|
}
|
|
],
|
|
"label": "Cell",
|
|
"mnemonic": -1,
|
|
"rank": 3
|
|
},
|
|
|
|
{ "disabled": false, "id": "jp-mainmenu-view2",
|
|
"items": [
|
|
{
|
|
"command": "filebrowser:toggle-hidden-files",
|
|
"rank": 0
|
|
},
|
|
{
|
|
"command": "apputils:activate-command-palette",
|
|
"rank": 1
|
|
},
|
|
{
|
|
"command": "viewmenu:line-numbering",
|
|
"rank": 2
|
|
},
|
|
{
|
|
"command": "viewmenu:match-brackets",
|
|
"rank": 3
|
|
},
|
|
{
|
|
"command": "viewmenu:word-wrap",
|
|
"rank": 4
|
|
},
|
|
{
|
|
"type": "submenu",
|
|
"rank": 10,
|
|
"submenu": {
|
|
"id": "jp-mainmenu-view-appearance",
|
|
"label": "Appearance",
|
|
"items": [
|
|
{
|
|
"command": "application:toggle-mode",
|
|
"rank": 0
|
|
},
|
|
{
|
|
"command": "application:toggle-fullscreen-mode",
|
|
"rank": 0
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 10
|
|
},
|
|
{
|
|
"command": "application:toggle-left-area",
|
|
"rank": 11
|
|
},
|
|
{
|
|
"command": "application:toggle-side-tabbar",
|
|
"rank": 12,
|
|
"args": {
|
|
"side": "left"
|
|
}
|
|
},
|
|
{
|
|
"command": "application:toggle-right-area",
|
|
"rank": 13
|
|
},
|
|
{
|
|
"command": "application:toggle-side-tabbar",
|
|
"rank": 14,
|
|
"args": {
|
|
"side": "right"
|
|
}
|
|
},
|
|
{
|
|
"command": "application:toggle-header",
|
|
"rank": 15
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 50
|
|
},
|
|
{
|
|
"command": "application:reset-layout",
|
|
"rank": 51
|
|
},
|
|
{
|
|
"command": "statusbar:toggle",
|
|
"rank": 15
|
|
}
|
|
]
|
|
},
|
|
"disabled": false
|
|
}
|
|
],
|
|
"label": "View",
|
|
"mnemonic": -1,
|
|
"rank": 4
|
|
},
|
|
|
|
|
|
{ "disabled": false, "id": "jp-mainmenu-run2",
|
|
"items": [
|
|
{
|
|
"command": "runmenu:run",
|
|
"rank": 10
|
|
},
|
|
{
|
|
"command": "notebook:run-cell-and-insert-below",
|
|
"rank": 10
|
|
},
|
|
{
|
|
"command": "notebook:run-cell",
|
|
"rank": 10
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 20
|
|
},
|
|
{
|
|
"command": "kernelmenu:restart-and-clear",
|
|
"rank": 100
|
|
},
|
|
{
|
|
"command": "notebook:restart-and-run-to-selected",
|
|
"rank": 100
|
|
},
|
|
{
|
|
"command": "notebook:restart-run-all",
|
|
"rank": 100
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 200
|
|
},
|
|
{
|
|
"command": "kernelmenu:interrupt",
|
|
"rank": 1000
|
|
}
|
|
|
|
],
|
|
"label": "Run",
|
|
"mnemonic": -1,
|
|
"rank": 5
|
|
},
|
|
|
|
{ "disabled": false, "id": "jp-mainmenu-help",
|
|
"items": [
|
|
{
|
|
"command": "helpmenu:open",
|
|
"rank": 1000
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 0.1
|
|
},
|
|
{
|
|
"command": "apputils:display-shortcuts",
|
|
"rank": 0.1
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 0.1
|
|
},
|
|
{
|
|
"command": "help:about",
|
|
"rank": 0
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 0
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 2
|
|
},
|
|
{
|
|
"command": "help:jupyter-forum",
|
|
"rank": 2
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 2
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 0.1
|
|
},
|
|
{
|
|
"command": "inspector:open",
|
|
"rank": 0.1
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 0.1
|
|
}
|
|
],
|
|
"label": "Help",
|
|
"mnemonic": -1,
|
|
"rank": 1000
|
|
},
|
|
{
|
|
"disabled": false,
|
|
"id": "jp-mainmenu-settings",
|
|
"items": [
|
|
{
|
|
"command": "settingeditor:open",
|
|
"rank": 1000
|
|
},
|
|
{
|
|
"type": "submenu",
|
|
"submenu": {
|
|
"id": "jp-mainmenu-settings-apputilstheme",
|
|
"label": "Theme",
|
|
"items": [
|
|
// {
|
|
// "type": "separator"
|
|
// },
|
|
{
|
|
"command": "apputils:adaptive-theme"
|
|
},
|
|
// {
|
|
// "type": "separator"
|
|
// },
|
|
{
|
|
"disabled": true,
|
|
"command": "apputils:theme-scrollbars"
|
|
},
|
|
// {
|
|
// "type": "separator"
|
|
// },
|
|
{
|
|
"disabled": true,
|
|
"command": "apputils:incr-font-size",
|
|
"args": {
|
|
"key": "code-font-size"
|
|
}
|
|
},
|
|
{
|
|
"disabled": true,
|
|
"command": "apputils:decr-font-size",
|
|
"args": {
|
|
"key": "code-font-size"
|
|
}
|
|
},
|
|
// {
|
|
// "type": "separator"
|
|
// },
|
|
{
|
|
"disabled": true,
|
|
"command": "apputils:incr-font-size",
|
|
"args": {
|
|
"key": "content-font-size1"
|
|
}
|
|
},
|
|
{
|
|
"disabled": true,
|
|
"command": "apputils:decr-font-size",
|
|
"args": {
|
|
"key": "content-font-size1"
|
|
}
|
|
},
|
|
// {
|
|
// "type": "separator"
|
|
// },
|
|
{
|
|
"disabled": true,
|
|
"command": "apputils:incr-font-size",
|
|
"args": {
|
|
"key": "ui-font-size1"
|
|
}
|
|
},
|
|
{
|
|
"disabled": true,
|
|
"command": "apputils:decr-font-size",
|
|
"args": {
|
|
"key": "ui-font-size1"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"rank": 0
|
|
},
|
|
{
|
|
"type": "separator",
|
|
"rank": 9
|
|
},
|
|
{
|
|
"type": "submenu",
|
|
"submenu": {
|
|
"id": "jp-mainmenu-settings-consoleexecute",
|
|
"label": "Console Run Keystroke",
|
|
"items": [
|
|
{
|
|
"command": "console:interaction-mode",
|
|
"args": {
|
|
"interactionMode": "terminal"
|
|
}
|
|
},
|
|
{
|
|
"command": "console:interaction-mode",
|
|
"args": {
|
|
"interactionMode": "notebook"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"rank": 9
|
|
},
|
|
// {
|
|
// "type": "separator",
|
|
// "rank": 9
|
|
// },
|
|
// {
|
|
// "type": "separator",
|
|
// "rank": 100
|
|
// },
|
|
{
|
|
"disabled": true,
|
|
"command": "extensionmanager:toggle",
|
|
"rank": 100
|
|
},
|
|
// "type": "separator",
|
|
// "rank": 100
|
|
// },
|
|
// {
|
|
// "type": "separator",
|
|
// "rank": 1
|
|
// },
|
|
{
|
|
"disabled": true,
|
|
"type": "submenu",
|
|
"rank": 1,
|
|
"submenu": {
|
|
"id": "jp-mainmenu-settings-language",
|
|
"label": "Language"
|
|
}
|
|
},
|
|
// {
|
|
// "type": "separator",
|
|
// "rank": 1
|
|
// }
|
|
],
|
|
"label": "Settings",
|
|
"mnemonic": -1,
|
|
"rank": 999
|
|
},
|
|
|
|
|
|
|
|
|
|
// { "disabled": true, "id": "jp-mainmenu-view",
|
|
// "items": [
|
|
// {
|
|
// "type": "separator",
|
|
// "rank": 10
|
|
// },
|
|
// {
|
|
// "command": "viewmenu:line-numbering",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "viewmenu:match-brackets",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "viewmenu:word-wrap",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "type": "submenu",
|
|
// "rank": 1,
|
|
// "submenu": {
|
|
// "id": "jp-mainmenu-view-appearance",
|
|
// "label": "Appearance",
|
|
// "items": [
|
|
// {
|
|
// "command": "application:toggle-mode",
|
|
// "rank": 0
|
|
// },
|
|
// {
|
|
// "command": "application:toggle-presentation-mode",
|
|
// "rank": 0
|
|
// },
|
|
// {
|
|
// "command": "application:toggle-fullscreen-mode",
|
|
// "rank": 0
|
|
// },
|
|
// {
|
|
// "type": "separator",
|
|
// "rank": 10
|
|
// },
|
|
// {
|
|
// "command": "application:toggle-left-area",
|
|
// "rank": 11
|
|
// },
|
|
// {
|
|
// "command": "application:toggle-side-tabbar",
|
|
// "rank": 12,
|
|
// "args": {
|
|
// "side": "left"
|
|
// }
|
|
// },
|
|
// {
|
|
// "command": "application:toggle-right-area",
|
|
// "rank": 13
|
|
// },
|
|
// {
|
|
// "command": "application:toggle-side-tabbar",
|
|
// "rank": 14,
|
|
// "args": {
|
|
// "side": "right"
|
|
// }
|
|
// },
|
|
// {
|
|
// "command": "application:toggle-header",
|
|
// "rank": 15
|
|
// },
|
|
// {
|
|
// "type": "separator",
|
|
// "rank": 50
|
|
// },
|
|
// {
|
|
// "command": "application:reset-layout",
|
|
// "rank": 51
|
|
// },
|
|
// {
|
|
// "command": "statusbar:toggle",
|
|
// "rank": 15
|
|
// }
|
|
// ]
|
|
// },
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "type": "separator",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "property-inspector:show-panel",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "type": "separator",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "apputils:display-notifications",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "type": "separator",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "apputils:activate-command-palette",
|
|
// "rank": 0
|
|
// },
|
|
// {
|
|
// "type": "separator",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "extensionmanager:show-panel",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "filebrowser:toggle-hidden-files",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "type": "separator",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "logconsole:open",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "type": "separator",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "type": "separator",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "notebook:hide-cell-code",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "notebook:hide-cell-outputs",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "notebook:hide-all-cell-code",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "notebook:hide-all-cell-outputs",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "type": "separator",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "notebook:show-cell-code",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "notebook:show-cell-outputs",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "notebook:show-all-cell-code",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "notebook:show-all-cell-outputs",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "type": "separator",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "notebook:toggle-render-side-by-side-current",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "type": "separator",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "running:show-panel",
|
|
// "disabled": true
|
|
// },
|
|
// {
|
|
// "command": "toc:show-panel",
|
|
// "disabled": true
|
|
// }
|
|
// ],
|
|
// "label": "View",
|
|
// "mnemonic": -1,
|
|
// "rank": 3
|
|
// },
|
|
]
|
|
} |