Don´t show npm explorer commands in the command palette fixes #51196

This commit is contained in:
Erich Gamma 2018-06-13 12:02:42 +02:00
parent 6683ba1574
commit 09e8559257

View file

@ -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"