From fd950391e41f3618db65f792ce89d7a4ff36efb3 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Thu, 26 Mar 2020 14:43:03 -0700 Subject: [PATCH] Fix notebook command palette clauses (#9752) --- extensions/notebook/package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/extensions/notebook/package.json b/extensions/notebook/package.json index 0171496a76..65d992242a 100644 --- a/extensions/notebook/package.json +++ b/extensions/notebook/package.json @@ -251,23 +251,23 @@ }, { "command": "notebook.command.runactivecell", - "when": "notebookEditorVisible" + "when": "activeEditor == workbench.editor.notebookEditor" }, { "command": "notebook.command.clearactivecellresult", - "when": "notebookEditorVisible" + "when": "activeEditor == workbench.editor.notebookEditor" }, { "command": "notebook.command.runallcells", - "when": "notebookEditorVisible" + "when": "activeEditor == workbench.editor.notebookEditor" }, { "command": "notebook.command.addcode", - "when": "notebookEditorVisible" + "when": "activeEditor == workbench.editor.notebookEditor" }, { "command": "notebook.command.addtext", - "when": "notebookEditorVisible" + "when": "activeEditor == workbench.editor.notebookEditor" }, { "command": "notebook.command.addcell",