Skip to content

Commit 7610067

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 919a3a4 commit 7610067

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
@@ -544,7 +544,7 @@
544544
},
545545
"powershell.powerShellDefaultVersion": {
546546
"type": "string",
547-
"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)\"."
547+
"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)\"."
548548
},
549549
"powershell.startAutomatically": {
550550
"type": "boolean",

src/session.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ export class SessionManager implements Middleware {
761761
.filter((item) => item.exePath.toLowerCase() !== currentExePath)
762762
.map((item) => {
763763
return new SessionMenuItem(
764-
`Switch to ${item.versionName}`,
764+
`Switch to: ${item.versionName}`,
765765
() => { this.changePowerShellExePath(item.exePath); });
766766
});
767767

0 commit comments

Comments
 (0)