@@ -34,7 +34,7 @@ The extension fetches data from https://registry.npmjs.org and https://registry.
-`npm.autoDetect` - Enable detecting scripts as tasks, the default is `on`.
-`npm.runSilent` - Run npm script with the `--silent` option, the default is `false`.
-`npm.packageManager` - The package manager used to run the scripts: `npm` or `yarn`, the default is `npm`.
-`npm.packageManager` - The package manager used to run the scripts: `npm`, `yarn` or `pnpm`, the default is `npm`.
-`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`.
@@ -348,8 +348,8 @@ export class DebugService implements IDebugService {
}
if(configOrName&&!config){
constmessage=!!launch?nls.localize('configMissing',"Configuration '{0}' is missing in 'launch.json'.",typeofconfigOrName==='string'?configOrName:JSON.stringify(configOrName)):
nls.localize('launchJsonDoesNotExist',"'launch.json' does not exist.");
constmessage=!!launch?nls.localize('configMissing',"Configuration '{0}' is missing in 'launch.json'.",typeofconfigOrName==='string'?configOrName:configOrName.name):
nls.localize('launchJsonDoesNotExist',"'launch.json' does not exist for passed workspace folder.");
thrownewError(message);
}
...
...
@@ -358,6 +358,7 @@ export class DebugService implements IDebugService {
returnresult;
}catch(err){
// make sure to get out of initializing state, and propagate the result
actionRegistry.registerWorkbenchAction(SyncActionDescriptor.from(EnableAutoUpdateAction),`Extensions: Enable Auto Updating Extensions`,ExtensionsLabel);
actionRegistry.registerWorkbenchAction(SyncActionDescriptor.from(DisableAutoUpdateAction),`Extensions: Disable Auto Updating Extensions`,ExtensionsLabel);
actionRegistry.registerWorkbenchAction(SyncActionDescriptor.from(InstallSpecificVersionOfExtensionAction),'Install Specific Version of Extension...',ExtensionsLabel);