From 24fbb37b58fa0ecdf3eb9e2165c650edc6c018ef Mon Sep 17 00:00:00 2001 From: Justin Grote Date: Fri, 13 May 2022 07:34:30 -0700 Subject: [PATCH 1/2] Update PSIC stop message to be more concise Sorry @andschwa, one more adjustment that came up, fixes https://github.com/PowerShell/vscode-powershell/issues/2337 --- src/session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session.ts b/src/session.ts index f96bb734f7..e2980fe523 100644 --- a/src/session.ts +++ b/src/session.ts @@ -508,7 +508,7 @@ export class SessionManager implements Middleware { private promptForRestart() { vscode.window.showErrorMessage( - "The PowerShell session has terminated due to an error, would you like to restart it? (IntelliSense will not work unless the PSIC is active and unblocked.)", + "The PowerShell Integrated Console has stopped, would you like to restart it? (IntelliSense will not work unless the PSIC is active and unblocked.)", "Yes", "No") .then((answer) => { if (answer === "Yes") { this.restartSession(); }}); } From e50834654bfa0a10305733f329d7cf5b7cce5016 Mon Sep 17 00:00:00 2001 From: Andy Schwartzmeyer Date: Fri, 13 May 2022 10:59:04 -0700 Subject: [PATCH 2/2] Update src/session.ts --- src/session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session.ts b/src/session.ts index e2980fe523..cd49cb13ab 100644 --- a/src/session.ts +++ b/src/session.ts @@ -508,7 +508,7 @@ export class SessionManager implements Middleware { private promptForRestart() { vscode.window.showErrorMessage( - "The PowerShell Integrated Console has stopped, would you like to restart it? (IntelliSense will not work unless the PSIC is active and unblocked.)", + "The PowerShell Integrated Console (PSIC) has stopped, would you like to restart it? (IntelliSense will not work unless the PSIC is active and unblocked.)", "Yes", "No") .then((answer) => { if (answer === "Yes") { this.restartSession(); }}); }