From e0b6972f607c276884d33b7abecfbaaed40fc020 Mon Sep 17 00:00:00 2001 From: Ian Huff Date: Mon, 14 Oct 2019 13:58:13 -0700 Subject: [PATCH] new notebook command outside of extension --- news/2 Fixes/7888.md | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 news/2 Fixes/7888.md diff --git a/news/2 Fixes/7888.md b/news/2 Fixes/7888.md new file mode 100644 index 000000000000..c1714788317c --- /dev/null +++ b/news/2 Fixes/7888.md @@ -0,0 +1 @@ +Allow the "Create New Blank Jupyter Notebook" command to be run when the python extension is not loaded yet. \ No newline at end of file diff --git a/package.json b/package.json index 589a5585e5e6..0e32a3d76714 100644 --- a/package.json +++ b/package.json @@ -72,6 +72,7 @@ "onCommand:python.switchOffInsidersChannel", "onCommand:python.switchToDailyChannel", "onCommand:python.switchToWeeklyChannel", + "onCommand:python.datascience.createnewnotebook", "onCommand:python.datascience.showhistorypane", "onCommand:python.datascience.importnotebook", "onCommand:python.datascience.importnotebookfile", @@ -962,8 +963,7 @@ { "command": "python.datascience.createnewnotebook", "title": "%python.command.python.datascience.createnewnotebook.title%", - "category": "Python", - "when": "python.datascience.featureenabled" + "category": "Python" } ], "view/title": [