mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
Added setting to control visibility of code lens
This commit is contained in:
@@ -15,11 +15,11 @@ For more information about auto detection of Tasks, see the [documentation](http
|
||||
|
||||
### Script Explorer
|
||||
|
||||
The Npm Script Explorer shows the npm scripts found in your workspace. The explorer view is enabled by the setting `npm.enableScriptExplorer`.
|
||||
The Npm Script Explorer shows the npm scripts found in your workspace. The explorer view is enabled by the setting `npm.enableScriptExplorer`. A script can be opened, run, or debug from the explorer.
|
||||
|
||||
### Run Scripts from the Editor
|
||||
|
||||
The extension provides commands to run the script containing the selection.
|
||||
The extension provides code lense actions to run or debug a script from the editor.
|
||||
|
||||
## Settings
|
||||
|
||||
@@ -29,3 +29,5 @@ The extension provides commands to run the script containing the selection.
|
||||
- `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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user