From c49ceb9c5bf7c5665337c10be0f4501aa5862ebc Mon Sep 17 00:00:00 2001 From: Keith Hill Date: Wed, 6 Feb 2019 23:42:43 -0700 Subject: [PATCH] Modify powerShellDefaultVersion desc to make clearer Update session menu "switch to" entries to more clearly distinguish the "version name". Fix #1734 --- package.json | 2 +- src/session.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 228eb9c451..fd938b5e99 100644 --- a/package.json +++ b/package.json @@ -543,7 +543,7 @@ }, "powershell.powerShellDefaultVersion": { "type": "string", - "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)\"." + "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)\"." }, "powershell.startAutomatically": { "type": "boolean", diff --git a/src/session.ts b/src/session.ts index 2c2cd8f4ae..cc7d0956c2 100644 --- a/src/session.ts +++ b/src/session.ts @@ -761,7 +761,7 @@ export class SessionManager implements Middleware { .filter((item) => item.exePath.toLowerCase() !== currentExePath) .map((item) => { return new SessionMenuItem( - `Switch to ${item.versionName}`, + `Switch to: ${item.versionName}`, () => { this.changePowerShellExePath(item.exePath); }); });