123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- {
- "$schema": "http://json-schema.org/draft-07/schema",
- "title": "Cell Toolbar",
- "description": "Cell Toolbar Settings.",
- "jupyter.lab.toolbars": {
- "Cell": [
- {
- "name": "duplicate-cell",
- "command": "notebook:duplicate-below"
- },
- { "name": "move-cell-up", "command": "notebook:move-cell-up" },
- { "name": "move-cell-down", "command": "notebook:move-cell-down" },
- {
- "name": "insert-cell-above",
- "command": "notebook:insert-cell-above"
- },
- {
- "name": "insert-cell-below",
- "command": "notebook:insert-cell-below"
- },
- {
- "command": "notebook:delete-cell",
- "icon": "ui-components:delete",
- "name": "delete-cell"
- }
- ]
- },
- "jupyter.lab.transform": true,
- "properties": {
- "toolbar": {
- "title": "List of toolbar items",
- "description": "An item is defined by a 'name', a 'command' name, and an 'icon' name",
- "type": "array",
- "items": {
- "$ref": "#/definitions/toolbarItem"
- },
- "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"
- }
- }
- }
|