Added setting to control visibility of code lens

This commit is contained in:
Erich Gamma
2018-07-20 09:43:25 +02:00
parent 80b08b4c7f
commit 8d964cbd59
5 changed files with 70 additions and 42 deletions

View File

@@ -94,10 +94,6 @@
"command": "npm.runScript",
"when": "false"
},
{
"command": "npm.runScriptFromSource",
"when": "false"
},
{
"command": "npm.debugScript",
"when": "false"
@@ -182,6 +178,12 @@
"scope": "resource",
"description": "%config.npm.runSilent%"
},
"npm.scriptCodeLens.enable": {
"type": "boolean",
"default": true,
"scope": "resource",
"description": "%config.scriptCodeLens.enable%"
},
"npm.packageManager": {
"scope": "resource",
"type": "string",