Skip to content

Commit c49ceb9

Browse files
committed
Modify powerShellDefaultVersion desc to make clearer
Update session menu "switch to" entries to more clearly distinguish the "version name". Fix #1734
1 parent d31600e commit c49ceb9

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
@@ -543,7 +543,7 @@
543543
},
544544
"powershell.powerShellDefaultVersion": {
545545
"type": "string",
546-
"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)\"."
546+
"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)\"."
547547
},
548548
"powershell.startAutomatically": {
549549
"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)