mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Don´t show npm explorer commands in the command palette fixes #51196
This commit is contained in:
parent
6683ba1574
commit
09e8559257
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue