From fdd18df47f8a7bc6a7f89b27b166371ce24f646c Mon Sep 17 00:00:00 2001 From: Andy Jordan Date: Mon, 12 Sep 2022 17:26:12 -0700 Subject: [PATCH 1/2] Fix incorrect docstring for `powershell.cwd` This variable never could have accepted VS Code predefined variables because support for that is still an open feature request upstream. We have no API to resolve predefined variables in values given to contributed settings, and so cannot support this. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c6f1bfc3b3..2f3ceabd34 100644 --- a/package.json +++ b/package.json @@ -644,7 +644,7 @@ "powershell.cwd": { "type": "string", "default": null, - "description": "An explicit start path where the PowerShell Extension Terminal will be launched. Both the PowerShell process and the shell's location will be set to this directory. Predefined variables can be used (i.e. ${fileDirname} to use the current opened file's directory)." + "description": "An explicit start path where the PowerShell Extension Terminal will be launched. Both the PowerShell process's and the shell's location will be set to this directory. A real path must be provided!" }, "powershell.scriptAnalysis.enable": { "type": "boolean", From 603bec00482edf0ebfa902c819f457dcf2676461 Mon Sep 17 00:00:00 2001 From: Andy Jordan <2226434+andschwa@users.noreply.github.com> Date: Tue, 13 Sep 2022 12:31:57 -0700 Subject: [PATCH 2/2] Update package.json Co-authored-by: Patrick Meinecke --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2f3ceabd34..29725216f0 100644 --- a/package.json +++ b/package.json @@ -644,7 +644,7 @@ "powershell.cwd": { "type": "string", "default": null, - "description": "An explicit start path where the PowerShell Extension Terminal will be launched. Both the PowerShell process's and the shell's location will be set to this directory. A real path must be provided!" + "description": "An explicit start path where the PowerShell Extension Terminal will be launched. Both the PowerShell process's and the shell's location will be set to this directory. A fully resolved path must be provided!" }, "powershell.scriptAnalysis.enable": { "type": "boolean",