Skip to content

Commit 11924b0

Browse files
rkeithhillTylerLeonhardt
authored andcommitted
Modify powerShellDefaultVersion desc to make clearer (#1747)
Update session menu "switch to" entries to more clearly distinguish the "version name". Fix #1734
1 parent 49248d9 commit 11924b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@
539539
},
540540
"powershell.powerShellDefaultVersion": {
541541
"type": "string",
542-
"description": "Specifies the name of the PowerShell version used in the startup session when the extension loads e.g \"Windows PowerShell (x86)\" or \"PowerShell Core 6.0.2 (x64)\"."
542+
"description": "Specifies the PowerShell version name, as displayed by the 'PowerShell: Show Session Menu' command, used when the extension loads e.g \"Windows PowerShell (x86)\" or \"PowerShell Core 6 (x64)\"."
543543
},
544544
"powershell.startAutomatically": {
545545
"type": "boolean",

src/session.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ export class SessionManager implements Middleware {
768768
.filter((item) => item.exePath.toLowerCase() !== currentExePath)
769769
.map((item) => {
770770
return new SessionMenuItem(
771-
`Switch to ${item.versionName}`,
771+
`Switch to: ${item.versionName}`,
772772
() => { this.changePowerShellExePath(item.exePath); });
773773
});
774774

0 commit comments

Comments
 (0)