123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- {
- "title": "Notebook Panel",
- "description": "Notebook Panel settings.",
- "jupyter.lab.toolbars": {
- "Notebook": [
- { "name": "save", "rank": 10 },
- {
- "name": "insert",
- "command": "notebook:insert-cell-below",
- "icon": "ui-components:add",
- "rank": 20
- },
- { "name": "cut", "command": "notebook:cut-cell", "rank": 21 },
- { "name": "copy", "command": "notebook:copy-cell", "rank": 22 },
- { "name": "paste", "command": "notebook:paste-cell-below", "rank": 23 },
- { "name": "run", "command": "runmenu:run", "rank": 30 },
- { "name": "interrupt", "command": "kernelmenu:interrupt", "rank": 31 },
- { "name": "restart", "command": "kernelmenu:restart", "rank": 32 },
- {
- "name": "restart-and-run",
- "command": "runmenu:restart-and-run-all",
- "rank": 33
- },
- { "name": "cellType", "rank": 40 },
- { "name": "spacer", "type": "spacer", "rank": 100 },
- { "name": "kernelName", "rank": 1000 },
- { "name": "kernelStatus", "rank": 1001 },
- { "name": "executionProgress", "rank": 1002 }
- ]
- },
- "jupyter.lab.transform": true,
- "properties": {
- "toolbar": {
- "title": "Notebook panel toolbar items",
- "description": "Note: To disable a toolbar item,\ncopy it to User Preferences and add the\n\"disabled\" key. The following example will disable the Interrupt button item:\n{\n \"toolbar\": [\n {\n \"name\": \"interrupt\",\n \"disabled\": true\n }\n ]\n}\n\nToolbar description:",
- "items": {
- "$ref": "#/definitions/toolbarItem"
- },
- "type": "array",
- "default": []
- }
- },
- "additionalProperties": false,
- "type": "object",
- "definitions": {
- "toolbarItem": {
- "properties": {
- "name": {
- "title": "Unique name",
- "type": "string"
- },
- "args": {
- "title": "Command arguments",
- "type": "object"
- },
- "command": {
- "title": "Command id",
- "type": "string",
- "default": ""
- },
- "disabled": {
- "title": "Whether the item is ignored or not",
- "type": "boolean",
- "default": false
- },
- "icon": {
- "title": "Item icon id",
- "description": "If defined, it will override the command icon",
- "type": "string"
- },
- "label": {
- "title": "Item label",
- "description": "If defined, it will override the command label",
- "type": "string"
- },
- "type": {
- "title": "Item type",
- "type": "string",
- "enum": ["command", "spacer"]
- },
- "rank": {
- "title": "Item rank",
- "type": "number",
- "minimum": 0,
- "default": 50
- }
- },
- "required": ["name"],
- "additionalProperties": false,
- "type": "object"
- }
- }
- }
|