From 8e4b7b65b1a0801d3258bbb89b52222c1d70d955 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sun, 12 Nov 2023 21:10:28 +0100 Subject: [PATCH] remove more menu entries should close #3 --- package.json | 3 ++- schema/plugin.json | 17 ++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9dbfe08..935476c 100644 --- a/package.json +++ b/package.json @@ -111,7 +111,8 @@ "@jupyterlab/fileeditor-extension:completer", "@jupyterlab/fileeditor-extension:search", "@jupyterlab/fileeditor-extension:language-server", - "jupyterlab/fileeditor-extension:editor-syntax-status" + "jupyterlab/fileeditor-extension:editor-syntax-status", + "@jupyter-notebook/application-extension:sidepanel" ] }, "eslintIgnore": [ diff --git a/schema/plugin.json b/schema/plugin.json index 4392834..c526cec 100644 --- a/schema/plugin.json +++ b/schema/plugin.json @@ -59,6 +59,14 @@ { "command": "jupyter-notebook:open-notebook", "disabled": true, "args": { "isMenu": true}}, { "command": "jupyter-notebook:open-lab", "disabled": true, "args": { "isMenu": true}}, { "command": "jupyter-notebook:open-nbclassic", "disabled": true, "args": { "isMenu": true}}, + { "command": "notebook:hide-cell-code", "disabled": true}, + { "command": "notebook:show-cell-code", "disabled": true}, + { "command": "notebook:hide-all-cell-code", "disabled": true}, + { "command": "notebook:show-all-cell-code", "disabled": true}, + { "command": "notebook:hide-cell-outputs", "disabled": true}, + { "command": "notebook:show-cell-outputs", "disabled": true}, + { "command": "notebook:hide-all-cell-outputs", "disabled": true}, + { "command": "notebook:show-all-cell-outputs", "disabled": true}, { "type": "submenu", "disabled": true, @@ -68,7 +76,14 @@ } ] }, - { "id": "jp-mainmenu-settings", + { + "id": "jp-mainmenu-run", + "items": [ + { "command": "notebook:run-in-console", "disabled": true} + ] + }, + { + "id": "jp-mainmenu-settings", "disabled": true }, {