From 18582759fd8eec927ce3953336e8c5ab84817e8e Mon Sep 17 00:00:00 2001 From: Justin Grote Date: Tue, 24 Sep 2024 19:03:58 -0400 Subject: [PATCH 1/2] Add Rename Service Settings --- package.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/package.json b/package.json index 325d573c30..0735cb5df1 100644 --- a/package.json +++ b/package.json @@ -1012,6 +1012,23 @@ ], "default": "off", "markdownDescription": "Traces the communication between VS Code and the PowerShell Editor Services language server. **This setting is only meant for extension developers!**" + }, + "powershell.rename.acceptDisclaimer": { + "type": "boolean", + "default": false, + "markdownDescription": "Auto-accepts the disclaimer for the PowerShell Rename Symbol feature which has support limitations and risks." + }, + "powershell.rename.createFunctionAlias": { + "type": "boolean", + "default": true, + "markdownDescription": "Defines an alias above the function definition for the previous function.", + "deprecationMessage": "This has not been implemented yet." + }, + "powershell.rename.createParameterAlias": { + "type": "boolean", + "default": true, + "markdownDescription": "Creates an alias attribute for a parameter when renaming a parameter definition.", + "deprecationMessage": "This has not been implemented yet." } } }, From bb9f0572a25651742237d3fad15460b0ce2d92f8 Mon Sep 17 00:00:00 2001 From: Justin Grote Date: Fri, 4 Oct 2024 22:27:08 -0700 Subject: [PATCH 2/2] Enable CreateParameterAlias --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 0735cb5df1..00dbfe3d4c 100644 --- a/package.json +++ b/package.json @@ -1027,8 +1027,7 @@ "powershell.rename.createParameterAlias": { "type": "boolean", "default": true, - "markdownDescription": "Creates an alias attribute for a parameter when renaming a parameter definition.", - "deprecationMessage": "This has not been implemented yet." + "markdownDescription": "Creates an alias attribute for a parameter when renaming a parameter definition." } } },