mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
Show the npm script explorer when there is a top level package.json
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
"activationEvents": [
|
||||
"onCommand:workbench.action.tasks.runTask",
|
||||
"onLanguage:json",
|
||||
"workspaceContains:package.json",
|
||||
"onView:npm"
|
||||
],
|
||||
"contributes": {
|
||||
@@ -47,7 +48,7 @@
|
||||
{
|
||||
"id": "npm",
|
||||
"name": "%view.name%",
|
||||
"when": "config.npm.enableScriptExplorer"
|
||||
"when": "npm:showScriptExplorer || config.npm.enableScriptExplorer"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user