From d69c99a8cc5f7cd8ad7fb21039bbf5b9c9b86d85 Mon Sep 17 00:00:00 2001 From: Justin Grote Date: Fri, 15 May 2026 11:03:27 -0700 Subject: [PATCH 1/2] Add configuration options for PowerShell parameter renaming feature --- package.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package.json b/package.json index 79bc030ac5..14ace2fc52 100644 --- a/package.json +++ b/package.json @@ -726,6 +726,11 @@ "default": true, "markdownDescription": "Shows the last line of a folded section similar to the default VS Code folding style. When disabled, the entire folded region is hidden." }, + "powershell.rename.createParameterAlias": { + "type": "boolean", + "default": true, + "markdownDescription": "Creates an alias attribute for a parameter when renaming a parameter definition." + }, "powershell.helpCompletion": { "type": "string", "default": "BlockComment", @@ -769,6 +774,11 @@ "type": "boolean", "default": false, "markdownDescription": "Suppresses the warning message when any of `#powershell.powerShellAdditionalExePaths#` is not found." + }, + "powershell.rename.acceptDisclaimer": { + "type": "boolean", + "default": false, + "markdownDescription": "Auto-accepts the disclaimer for the PowerShell Rename Symbol feature which has support limitations and risks." } } }, From 47946e77ad3935a9c08994684d1f102306c67a83 Mon Sep 17 00:00:00 2001 From: Justin Grote Date: Fri, 15 May 2026 11:25:25 -0700 Subject: [PATCH 2/2] Add hyperlink to rename disclaimer setting --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 14ace2fc52..ce734d35eb 100644 --- a/package.json +++ b/package.json @@ -778,7 +778,7 @@ "powershell.rename.acceptDisclaimer": { "type": "boolean", "default": false, - "markdownDescription": "Auto-accepts the disclaimer for the PowerShell Rename Symbol feature which has support limitations and risks." + "markdownDescription": "Auto-accepts the [disclaimer for the PowerShell Rename Symbol feature](https://aka.ms/powershell-rename-disclaimer) which has support limitations and risks." } } },