From 3fb76cabd413270667faef04fc5ddfa01c9bb2df Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Fri, 30 Jan 2026 15:31:13 +0100 Subject: [PATCH] fix #290501 (#291876) * fix #290501 * Revert "fix #290501" This reverts commit 3f0ce7842e00f35129b7eecb2e700c1c74ed4ef4. --- build/lib/policies/policyData.jsonc | 2 +- .../extensionManagement/common/extensionManagement.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/lib/policies/policyData.jsonc b/build/lib/policies/policyData.jsonc index b8f4106fc97..53387c4fa34 100644 --- a/build/lib/policies/policyData.jsonc +++ b/build/lib/policies/policyData.jsonc @@ -74,7 +74,7 @@ "localization": { "description": { "key": "extensions.allowed.policy", - "value": "Specify a list of extensions that are allowed to use. This helps maintain a secure and consistent development environment by restricting the use of unauthorized extensions. More information: https://code.visualstudio.com/docs/setup/enterprise#_configure-allowed-extensions" + "value": "Specify a list of extensions that are allowed to use. This helps maintain a secure and consistent development environment by restricting the use of unauthorized extensions. More information: https://aka.ms/vscode/enterprise/extensions/allowed" } }, "type": "object", diff --git a/src/vs/platform/extensionManagement/common/extensionManagement.ts b/src/vs/platform/extensionManagement/common/extensionManagement.ts index 34eaca06df6..865a17fe6a8 100644 --- a/src/vs/platform/extensionManagement/common/extensionManagement.ts +++ b/src/vs/platform/extensionManagement/common/extensionManagement.ts @@ -723,7 +723,7 @@ Registry.as(Extensions.Configuration) [AllowedExtensionsConfigKey]: { // Note: Type is set only to object because to support policies generation during build time, where single type is expected. type: 'object', - markdownDescription: localize('extensions.allowed', "Specify a list of extensions that are allowed to use. This helps maintain a secure and consistent development environment by restricting the use of unauthorized extensions. For more information on how to configure this setting, please visit the [Configure Allowed Extensions](https://code.visualstudio.com/docs/setup/enterprise#_configure-allowed-extensions) section."), + markdownDescription: localize('extensions.allowed', "Specify a list of extensions that are allowed to use. This helps maintain a secure and consistent development environment by restricting the use of unauthorized extensions. For more information on how to configure this setting, please visit the [Configure Allowed Extensions](https://aka.ms/vscode/enterprise/extensions/allowed) section."), default: '*', defaultSnippets: [{ body: {}, @@ -742,7 +742,7 @@ Registry.as(Extensions.Configuration) localization: { description: { key: 'extensions.allowed.policy', - value: localize('extensions.allowed.policy', "Specify a list of extensions that are allowed to use. This helps maintain a secure and consistent development environment by restricting the use of unauthorized extensions. More information: https://code.visualstudio.com/docs/setup/enterprise#_configure-allowed-extensions"), + value: localize('extensions.allowed.policy', "Specify a list of extensions that are allowed to use. This helps maintain a secure and consistent development environment by restricting the use of unauthorized extensions. More information: https://aka.ms/vscode/enterprise/extensions/allowed"), } } },