Kaynağa Gözat

Assign keyboard shortcut C-S-Enter to notebook:run-in-console (#5151)

* Assign keyboard shorcut C-S-Enter to notebook:run-in-console

* Add shortcut entry but not a default shortcut
Bo 6 yıl önce
ebeveyn
işleme
d94f15d4da
1 değiştirilmiş dosya ile 11 ekleme ve 0 silme
  1. 11 0
      packages/shortcuts-extension/schema/plugin.json

+ 11 - 0
packages/shortcuts-extension/schema/plugin.json

@@ -791,6 +791,17 @@
       },
       "type": "object"
     },
+    "notebook:run-in-console": {
+      "default": {},
+      "properties": {
+        "command": { "default": "notebook:run-in-console" },
+        "keys": { "default": [""] },
+        "selector": { "default": ".jp-Notebook.jp-mod-editMode" },
+        "title": { "default": "Run In Console" },
+        "category": { "default": "Notebook Cell Operations" }
+      },
+      "type": "object"
+    },
     "notebook:run-cell-and-select-next": {
       "default": {},
       "properties": {