From 1616ea11935857a077657756eb957be36b7fe756 Mon Sep 17 00:00:00 2001 From: Erich Gamma Date: Tue, 24 Jul 2018 12:17:55 +0200 Subject: [PATCH] Disable npm code lens by default --- extensions/npm/README.md | 2 +- extensions/npm/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/npm/README.md b/extensions/npm/README.md index c3dd9437203..6c8fa19625d 100644 --- a/extensions/npm/README.md +++ b/extensions/npm/README.md @@ -29,5 +29,5 @@ The extension provides code lense actions to run or debug a script from the edit - `npm.exclude` - Glob patterns for folders that should be excluded from automatic script detection. The pattern is matched against the **absolute path** of the package.json. For example, to exclude all test folders use '**/test/**'. - `npm.enableScriptExplorer` - Enable an explorer view for npm scripts. - `npm.scriptExplorerAction` - The default click action: `open` or `run`, the default is `open`. -- `npm.scriptCodeLens.enable` - Enable/disable the code lenses to run a script. +- `npm.scriptCodeLens.enable` - Enable/disable the code lenses to run a script, the default is `false`. diff --git a/extensions/npm/package.json b/extensions/npm/package.json index 7f4b794ee0c..434f7ea20b1 100644 --- a/extensions/npm/package.json +++ b/extensions/npm/package.json @@ -180,7 +180,7 @@ }, "npm.scriptCodeLens.enable": { "type": "boolean", - "default": true, + "default": false, "scope": "resource", "description": "%config.scriptCodeLens.enable%" },