diff --git a/extensions/npm/package.json b/extensions/npm/package.json index d1d38f2c26b..62aef251187 100644 --- a/extensions/npm/package.json +++ b/extensions/npm/package.json @@ -47,7 +47,7 @@ "capabilities": { "untrustedWorkspaces": { "supported": "limited", - "description": "This extension calls the `tasks.executeTask()` API, which requires trust to run." + "description": "%workspaceTrust%" } }, "contributes": { diff --git a/extensions/npm/package.nls.json b/extensions/npm/package.nls.json index 53ea18481de..b8570d0da82 100644 --- a/extensions/npm/package.nls.json +++ b/extensions/npm/package.nls.json @@ -1,6 +1,7 @@ { "description": "Extension to add task support for npm scripts.", "displayName": "NPM support for VS Code", + "workspaceTrust": "This extension calls the `tasks.executeTask()` API, which requires trust to run.", "config.npm.autoDetect": "Controls whether npm scripts should be automatically detected.", "config.npm.runSilent": "Run npm commands with the `--silent` option.", "config.npm.packageManager": "The package manager used to run scripts.", diff --git a/extensions/php-language-features/package.json b/extensions/php-language-features/package.json index 27a787d449d..98345bf7614 100644 --- a/extensions/php-language-features/package.json +++ b/extensions/php-language-features/package.json @@ -20,7 +20,7 @@ "capabilities": { "untrustedWorkspaces": { "supported": "limited", - "description": "The extension requires workspace trust when the `php.validate.executablePath` setting will load a version of PHP in the workspace." + "description": "%workspaceTrust%" } }, "contributes": { diff --git a/extensions/php-language-features/package.nls.json b/extensions/php-language-features/package.nls.json index 720b69f2286..1ebf76ea850 100644 --- a/extensions/php-language-features/package.nls.json +++ b/extensions/php-language-features/package.nls.json @@ -7,5 +7,6 @@ "commands.categroy.php": "PHP", "command.untrustValidationExecutable": "Disallow PHP validation executable (defined as workspace setting)", "displayName": "PHP Language Features", - "description": "Provides rich language support for PHP files." + "description": "Provides rich language support for PHP files.", + "workspaceTrust": "The extension requires workspace trust when the `php.validate.executablePath` setting will load a version of PHP in the workspace." }