mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-30 06:58:55 +01:00
npm: remove deprecated script explorer setting (#333653)
Remove deprecated npm script explorer setting Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot
parent
0352a616b7
commit
ca4627ac2f
@@ -15,7 +15,7 @@ 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`. A script can be opened, run, or debug from the explorer.
|
||||
The Npm Script Explorer shows the npm scripts found in your workspace. A script can be opened, run, or debug from the explorer.
|
||||
|
||||
### Run Scripts from the Editor
|
||||
|
||||
@@ -37,7 +37,6 @@ The extension fetches data from <https://registry.npmjs.org> and <https://regist
|
||||
- `npm.packageManager` - The package manager used to install dependencies: `auto`, `npm`, `yarn`, `pnpm` or `bun`. The default is `auto`, which detects your package manager based on files in your workspace.
|
||||
- `npm.scriptRunner` - The script runner used to run the scripts: `auto`, `npm`, `yarn`, `pnpm`, `bun` or `node`. The default is `auto`, which detects your script runner based on files in your workspace.
|
||||
- `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.enableRunFromFolder` - Enable running npm scripts from the context menu of folders in Explorer, the default is `false`.
|
||||
- `npm.scriptCodeLens.enable` - Enable/disable the code lenses to run a script, the default is `false`.
|
||||
|
||||
@@ -292,13 +292,6 @@
|
||||
"description": "%config.npm.exclude%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"npm.enableScriptExplorer": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"scope": "resource",
|
||||
"deprecationMessage": "The NPM Script Explorer is now available in 'Views' menu in the Explorer in all folders.",
|
||||
"markdownDescription": "%config.npm.enableScriptExplorer%"
|
||||
},
|
||||
"npm.enableRunFromFolder": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
"config.npm.scriptRunner.vp": "Use Vite+ (vp) as the script runner.",
|
||||
"config.npm.scriptRunner.auto": "Auto-detect which script runner to use based on lock files and installed package managers.",
|
||||
"config.npm.exclude": "Configure glob patterns for folders that should be excluded from automatic script detection.",
|
||||
"config.npm.enableScriptExplorer": "Enable an explorer view for npm scripts when there is no top-level `package.json` file.",
|
||||
"config.npm.scriptExplorerAction": "The default click action used in the NPM Scripts Explorer: `open` or `run`, the default is `open`.",
|
||||
"config.npm.scriptExplorerExclude": "An array of regular expressions that indicate which scripts should be excluded from the NPM Scripts view.",
|
||||
"config.npm.enableRunFromFolder": "Enable running npm scripts contained in a folder from the Explorer context menu.",
|
||||
|
||||
Reference in New Issue
Block a user