From 15929e8cf2122628e8d0fece2e18427578b095d6 Mon Sep 17 00:00:00 2001 From: Yurong He <43652751+YurongHe@users.noreply.github.com> Date: Mon, 4 Feb 2019 11:25:33 -0800 Subject: [PATCH] Add new notebook to OE server context menu (#3892) --- extensions/notebook/package.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/extensions/notebook/package.json b/extensions/notebook/package.json index 5b898dbede..ba0499a5d6 100644 --- a/extensions/notebook/package.json +++ b/extensions/notebook/package.json @@ -55,6 +55,13 @@ { "command": "notebook.command.open" } + ], + "objectExplorer/item/context": [ + { + "command": "notebook.command.new", + "when": "connectionProvider == MSSQL && nodeType && nodeType == Server", + "group": "1root@1" + } ] }, "keybindings": [ @@ -70,4 +77,4 @@ "devDependencies": { "@types/node": "8.0.33" } -} +} \ No newline at end of file