From 09e8559257cd529e60ca72438596398f404da359 Mon Sep 17 00:00:00 2001 From: Erich Gamma Date: Wed, 13 Jun 2018 12:02:42 +0200 Subject: [PATCH] =?UTF-8?q?Don=C2=B4t=20show=20npm=20explorer=20commands?= =?UTF-8?q?=20in=20the=20command=20palette=20fixes=20#51196?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extensions/npm/package.json | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/extensions/npm/package.json b/extensions/npm/package.json index 32e2402c4c1..f45037ec8e7 100644 --- a/extensions/npm/package.json +++ b/extensions/npm/package.json @@ -85,6 +85,28 @@ } ], "menus": { + "commandPalette": [ + { + "command": "npm.refresh", + "when": "false" + }, + { + "command": "npm.runScript", + "when": "false" + }, + { + "command": "npm.debugScript", + "when": "false" + }, + { + "command": "npm.openScript", + "when": "false" + }, + { + "command": "npm.runInstall", + "when": "false" + } + ], "view/title": [ { "command": "npm.refresh", @@ -102,7 +124,8 @@ "command": "npm.runInstall", "when": "view == npm && viewItem == packageJSON", "group": "navigation@2" - }, { + }, + { "command": "npm.openScript", "when": "view == npm && viewItem == script", "group": "navigation@1"