123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830 |
- {
- "jupyter.lab.setting-icon": "ui-components:notebook",
- "jupyter.lab.setting-icon-label": "Notebook",
- "jupyter.lab.menus": {
- "main": [
- {
- "id": "jp-mainmenu-file",
- "items": [
- {
- "type": "submenu",
- "submenu": {
- "id": "jp-mainmenu-file-new",
- "items": [
- {
- "command": "notebook:create-new",
- "rank": 10
- }
- ]
- }
- }
- ]
- },
- {
- "id": "jp-mainmenu-edit",
- "items": [
- {
- "type": "separator",
- "rank": 4
- },
- {
- "command": "notebook:undo-cell-action",
- "rank": 4
- },
- {
- "command": "notebook:redo-cell-action",
- "rank": 4
- },
- {
- "type": "separator",
- "rank": 5
- },
- {
- "command": "notebook:cut-cell",
- "rank": 5
- },
- {
- "command": "notebook:copy-cell",
- "rank": 5
- },
- {
- "command": "notebook:paste-cell-below",
- "rank": 5
- },
- {
- "command": "notebook:paste-cell-above",
- "rank": 5
- },
- {
- "command": "notebook:paste-and-replace-cell",
- "rank": 5
- },
- {
- "type": "separator",
- "rank": 6
- },
- {
- "command": "notebook:delete-cell",
- "rank": 6
- },
- {
- "type": "separator",
- "rank": 7
- },
- {
- "command": "notebook:select-all",
- "rank": 7
- },
- {
- "command": "notebook:deselect-all",
- "rank": 7
- },
- {
- "type": "separator",
- "rank": 8
- },
- {
- "command": "notebook:move-cell-up",
- "rank": 8
- },
- {
- "command": "notebook:move-cell-down",
- "rank": 8
- },
- {
- "type": "separator",
- "rank": 9
- },
- {
- "command": "notebook:split-cell-at-cursor",
- "rank": 9
- },
- {
- "command": "notebook:merge-cells",
- "rank": 9
- },
- {
- "command": "notebook:merge-cell-above",
- "rank": 9
- },
- {
- "command": "notebook:merge-cell-below",
- "rank": 9
- },
- {
- "type": "separator",
- "rank": 9
- }
- ]
- },
- {
- "id": "jp-mainmenu-view",
- "items": [
- {
- "type": "separator",
- "rank": 10
- },
- {
- "command": "notebook:hide-cell-code",
- "rank": 10
- },
- {
- "command": "notebook:hide-cell-outputs",
- "rank": 10
- },
- {
- "command": "notebook:hide-all-cell-code",
- "rank": 10
- },
- {
- "command": "notebook:hide-all-cell-outputs",
- "rank": 10
- },
- {
- "type": "separator",
- "rank": 10
- },
- {
- "command": "notebook:show-cell-code",
- "rank": 11
- },
- {
- "command": "notebook:show-cell-outputs",
- "rank": 11
- },
- {
- "command": "notebook:show-all-cell-code",
- "rank": 11
- },
- {
- "command": "notebook:show-all-cell-outputs",
- "rank": 11
- },
- {
- "type": "separator",
- "rank": 11
- },
- {
- "command": "notebook:toggle-render-side-by-side",
- "rank": 12
- },
- {
- "type": "separator",
- "rank": 12
- }
- ]
- },
- {
- "id": "jp-mainmenu-run",
- "items": [
- {
- "type": "separator",
- "rank": 10
- },
- {
- "command": "notebook:run-cell-and-insert-below",
- "rank": 10
- },
- {
- "command": "notebook:run-cell",
- "rank": 10
- },
- {
- "command": "notebook:run-in-console",
- "rank": 10
- },
- {
- "type": "separator",
- "rank": 11
- },
- {
- "command": "notebook:run-all-above",
- "rank": 11
- },
- {
- "command": "notebook:run-all-below",
- "rank": 11
- },
- {
- "type": "separator",
- "rank": 12
- },
- {
- "command": "notebook:render-all-markdown",
- "rank": 12
- },
- {
- "type": "separator",
- "rank": 12
- }
- ]
- },
- {
- "id": "jp-mainmenu-kernel",
- "items": [
- {
- "command": "notebook:restart-and-run-to-selected",
- "rank": 1
- }
- ]
- }
- ],
- "context": [
- {
- "type": "separator",
- "selector": ".jp-Notebook .jp-Cell",
- "rank": 0
- },
- {
- "command": "notebook:cut-cell",
- "selector": ".jp-Notebook .jp-Cell",
- "rank": 1
- },
- {
- "command": "notebook:copy-cell",
- "selector": ".jp-Notebook .jp-Cell",
- "rank": 2
- },
- {
- "command": "notebook:paste-cell-below",
- "selector": ".jp-Notebook .jp-Cell",
- "rank": 3
- },
- {
- "type": "separator",
- "selector": ".jp-Notebook .jp-Cell",
- "rank": 4
- },
- {
- "command": "notebook:delete-cell",
- "selector": ".jp-Notebook .jp-Cell",
- "rank": 5
- },
- {
- "type": "separator",
- "selector": ".jp-Notebook .jp-Cell",
- "rank": 6
- },
- {
- "command": "notebook:split-cell-at-cursor",
- "selector": ".jp-Notebook .jp-Cell",
- "rank": 7
- },
- {
- "command": "notebook:merge-cells",
- "selector": ".jp-Notebook .jp-Cell",
- "rank": 8
- },
- {
- "command": "notebook:merge-cell-above",
- "selector": ".jp-Notebook .jp-Cell",
- "rank": 8
- },
- {
- "command": "notebook:merge-cell-below",
- "selector": ".jp-Notebook .jp-Cell",
- "rank": 8
- },
- {
- "type": "separator",
- "selector": ".jp-Notebook .jp-Cell",
- "rank": 9
- },
- {
- "command": "notebook:create-output-view",
- "selector": ".jp-Notebook .jp-CodeCell",
- "rank": 10
- },
- {
- "type": "separator",
- "selector": ".jp-Notebook .jp-CodeCell",
- "rank": 11
- },
- {
- "command": "notebook:clear-cell-output",
- "selector": ".jp-Notebook .jp-CodeCell",
- "rank": 12
- },
- {
- "command": "notebook:clear-all-cell-outputs",
- "selector": ".jp-Notebook",
- "rank": 0
- },
- {
- "type": "separator",
- "selector": ".jp-Notebook",
- "rank": 1
- },
- {
- "command": "notebook:enable-output-scrolling",
- "selector": ".jp-Notebook",
- "rank": 2
- },
- {
- "command": "notebook:disable-output-scrolling",
- "selector": ".jp-Notebook",
- "rank": 3
- },
- {
- "type": "separator",
- "selector": ".jp-Notebook",
- "rank": 4
- },
- {
- "command": "notebook:undo-cell-action",
- "selector": ".jp-Notebook",
- "rank": 5
- },
- {
- "command": "notebook:redo-cell-action",
- "selector": ".jp-Notebook",
- "rank": 6
- },
- {
- "command": "notebook:restart-kernel",
- "selector": ".jp-Notebook",
- "rank": 7
- },
- {
- "type": "separator",
- "selector": ".jp-Notebook",
- "rank": 8
- },
- {
- "command": "notebook:create-console",
- "selector": ".jp-Notebook",
- "rank": 9
- }
- ]
- },
- "jupyter.lab.shortcuts": [
- {
- "command": "notebook:change-cell-to-code",
- "keys": ["Y"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:change-cell-to-heading-1",
- "keys": ["1"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:change-cell-to-heading-2",
- "keys": ["2"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:change-cell-to-heading-3",
- "keys": ["3"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:change-cell-to-heading-4",
- "keys": ["4"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:change-cell-to-heading-5",
- "keys": ["5"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:change-cell-to-heading-6",
- "keys": ["6"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:change-cell-to-markdown",
- "keys": ["M"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:change-cell-to-raw",
- "keys": ["R"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:copy-cell",
- "keys": ["C"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:cut-cell",
- "keys": ["X"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:delete-cell",
- "keys": ["D", "D"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:enter-command-mode",
- "keys": ["Escape"],
- "selector": ".jp-Notebook.jp-mod-editMode"
- },
- {
- "command": "notebook:enter-command-mode",
- "keys": ["Ctrl M"],
- "selector": ".jp-Notebook.jp-mod-editMode"
- },
- {
- "command": "notebook:enter-edit-mode",
- "keys": ["Enter"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:extend-marked-cells-above",
- "keys": ["Shift ArrowUp"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:extend-marked-cells-above",
- "keys": ["Shift K"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:extend-marked-cells-top",
- "keys": ["Shift Home"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:extend-marked-cells-below",
- "keys": ["Shift ArrowDown"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:extend-marked-cells-bottom",
- "keys": ["Shift End"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:extend-marked-cells-below",
- "keys": ["Shift J"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:insert-cell-above",
- "keys": ["A"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:insert-cell-below",
- "keys": ["B"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:merge-cells",
- "keys": ["Shift M"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:merge-cell-above",
- "keys": ["Ctrl Backspace"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:merge-cell-below",
- "keys": ["Ctrl Shift M"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:move-cursor-down",
- "keys": ["ArrowDown"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:move-cursor-down",
- "keys": ["J"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:move-cursor-up",
- "keys": ["ArrowUp"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:move-cursor-up",
- "keys": ["K"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:paste-cell-below",
- "keys": ["V"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:redo-cell-action",
- "keys": ["Shift Z"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:run-cell",
- "keys": ["Ctrl Enter"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:run-cell",
- "keys": ["Ctrl Enter"],
- "selector": ".jp-Notebook.jp-mod-editMode"
- },
- {
- "command": "notebook:run-cell-and-insert-below",
- "keys": ["Alt Enter"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:run-cell-and-insert-below",
- "keys": ["Alt Enter"],
- "selector": ".jp-Notebook.jp-mod-editMode"
- },
- {
- "command": "notebook:run-in-console",
- "keys": [""],
- "selector": ".jp-Notebook.jp-mod-editMode"
- },
- {
- "command": "notebook:run-cell-and-select-next",
- "keys": ["Shift Enter"],
- "selector": ".jp-Notebook.jp-mod-editMode"
- },
- {
- "command": "viewmenu:line-numbering",
- "keys": [""],
- "selector": ".jp-Notebook.jp-mod-commandMode"
- },
- {
- "command": "viewmenu:match-brackets",
- "keys": [""],
- "selector": ".jp-Notebook.jp-mod-commandMode"
- },
- {
- "command": "notebook:select-all",
- "keys": ["Accel A"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:split-cell-at-cursor",
- "keys": ["Ctrl Shift -"],
- "selector": ".jp-Notebook.jp-mod-editMode"
- },
- {
- "command": "notebook:toggle-all-cell-line-numbers",
- "keys": ["Shift L"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:toggle-cell-line-numbers",
- "keys": ["L"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:undo-cell-action",
- "keys": ["Z"],
- "selector": ".jp-Notebook:focus"
- },
- {
- "command": "notebook:toggle-render-side-by-side",
- "keys": ["Shift R"],
- "selector": ".jp-Notebook:focus"
- }
- ],
- "title": "Notebook",
- "description": "Notebook settings.",
- "definitions": {
- "editorConfig": {
- "properties": {
- "autoClosingBrackets": {
- "type": "boolean",
- "default": false
- },
- "cursorBlinkRate": {
- "type": "number",
- "title": "Cursor blinking rate",
- "description": "Half-period in milliseconds used for cursor blinking. The default blink rate is 530ms. By setting this to zero, blinking can be disabled. A negative value hides the cursor entirely.",
- "default": 530
- },
- "fontFamily": {
- "type": ["string", "null"],
- "default": null
- },
- "fontSize": {
- "type": ["integer", "null"],
- "minimum": 1,
- "maximum": 100,
- "default": null
- },
- "lineHeight": {
- "type": ["number", "null"],
- "default": null
- },
- "lineNumbers": {
- "type": "boolean",
- "default": false
- },
- "lineWrap": {
- "type": "string",
- "enum": ["off", "on", "wordWrapColumn", "bounded"]
- },
- "matchBrackets": {
- "type": "boolean"
- },
- "readOnly": {
- "type": "boolean",
- "default": false
- },
- "insertSpaces": {
- "type": "boolean",
- "default": true
- },
- "tabSize": {
- "type": "number",
- "default": 4
- },
- "wordWrapColumn": {
- "type": "integer",
- "default": 80
- },
- "rulers": {
- "type": "array",
- "items": {
- "type": "number"
- },
- "default": []
- },
- "codeFolding": {
- "type": "boolean",
- "default": false
- },
- "lineWiseCopyCut": {
- "type": "boolean",
- "default": true
- },
- "showTrailingSpace": {
- "type": "boolean",
- "default": false
- }
- },
- "additionalProperties": false,
- "type": "object"
- }
- },
- "properties": {
- "codeCellConfig": {
- "title": "Code Cell Configuration",
- "description": "The configuration for all code cells.",
- "$ref": "#/definitions/editorConfig",
- "properties": {
- "lineWarp": {
- "default": "off"
- },
- "matchBrackets": {
- "default": true
- }
- },
- "default": {
- "autoClosingBrackets": false,
- "cursorBlinkRate": 530,
- "fontFamily": null,
- "fontSize": null,
- "lineHeight": null,
- "lineNumbers": false,
- "lineWrap": "off",
- "matchBrackets": true,
- "readOnly": false,
- "insertSpaces": true,
- "tabSize": 4,
- "wordWrapColumn": 80,
- "rulers": [],
- "codeFolding": false,
- "lineWiseCopyCut": true,
- "showTrailingSpace": false
- }
- },
- "defaultCell": {
- "title": "Default cell type",
- "description": "The default type (markdown, code, or raw) for new cells",
- "type": "string",
- "enum": ["code", "markdown", "raw"],
- "default": "code"
- },
- "kernelShutdown": {
- "title": "Shut down kernel",
- "description": "Whether to shut down or not the kernel when closing a notebook.",
- "type": "boolean",
- "default": false
- },
- "markdownCellConfig": {
- "title": "Markdown Cell Configuration",
- "description": "The configuration for all markdown cells.",
- "$ref": "#/definitions/editorConfig",
- "properties": {
- "lineWarp": {
- "default": "on"
- },
- "matchBrackets": {
- "default": false
- }
- },
- "default": {
- "autoClosingBrackets": false,
- "cursorBlinkRate": 530,
- "fontFamily": null,
- "fontSize": null,
- "lineHeight": null,
- "lineNumbers": false,
- "lineWrap": "on",
- "matchBrackets": false,
- "readOnly": false,
- "insertSpaces": true,
- "tabSize": 4,
- "wordWrapColumn": 80,
- "rulers": [],
- "codeFolding": false,
- "lineWiseCopyCut": true,
- "showTrailingSpace": false
- }
- },
- "rawCellConfig": {
- "title": "Raw Cell Configuration",
- "description": "The configuration for all raw cells.",
- "$ref": "#/definitions/editorConfig",
- "properties": {
- "lineWarp": {
- "default": "on"
- },
- "matchBrackets": {
- "default": false
- }
- },
- "default": {
- "autoClosingBrackets": false,
- "cursorBlinkRate": 530,
- "fontFamily": null,
- "fontSize": null,
- "lineHeight": null,
- "lineNumbers": false,
- "lineWrap": "on",
- "matchBrackets": false,
- "readOnly": false,
- "insertSpaces": true,
- "tabSize": 4,
- "wordWrapColumn": 80,
- "rulers": [],
- "codeFolding": false,
- "lineWiseCopyCut": true,
- "showTrailingSpace": false
- }
- },
- "scrollPastEnd": {
- "title": "Scroll past last cell",
- "description": "Whether to be able to scroll so the last cell is at the top of the panel",
- "type": "boolean",
- "default": true
- },
- "recordTiming": {
- "title": "Recording timing",
- "description": "Should timing data be recorded in cell metadata",
- "type": "boolean",
- "default": false
- },
- "numberCellsToRenderDirectly": {
- "title": "Number of cells to render directly",
- "description": "Define the number of cells to render directly when virtual notebook intersection observer is available",
- "type": "number",
- "default": 20
- },
- "renderCellOnIdle": {
- "title": "Render cell on browser idle time",
- "description": "Defines if the placeholder cells should be rendered when the browser is idle",
- "type": "boolean",
- "default": true
- },
- "observedTopMargin": {
- "title": "Observed top margin",
- "description": "Defines the observed top margin for the virtual notebook, set a positive number of pixels to render cells above the visible view",
- "type": "string",
- "default": "1000px"
- },
- "observedBottomMargin": {
- "title": "Observed bottom margin",
- "description": "Defines the observed bottom margin for the virtual notebook, set a positive number of pixels to render cells below the visible view",
- "type": "string",
- "default": "1000px"
- },
- "maxNumberOutputs": {
- "title": "The maximum number of output cells to to be rendered in the output area. Set to 0 to have the complete display.",
- "description": "Defines the maximum number of output cells to to to be rendered in the output area for cells with many outputs. The output area will have a head and a tail, and the outputs between will be trimmed and not displayed unless the user clicks on the information message.",
- "type": "number",
- "default": 50
- },
- "experimentalDisableDocumentWideUndoRedo": {
- "title": "Experimental settings to enable the undo/redo on the notebook document level.",
- "description": "Disable the undo/redo on the notebook document level, so actions independent cells can have their own history. The undo/redo never applies on the outputs, in other words, outputs don't have history. A moved cell completely looses history capability for now.",
- "type": "boolean",
- "default": false
- }
- },
- "additionalProperties": false,
- "type": "object"
- }
|