From abaa1757c9bfbb8b977577cb05a71e6fc1759920 Mon Sep 17 00:00:00 2001 From: Justin Grote Date: Thu, 12 May 2022 14:30:58 -0700 Subject: [PATCH 1/2] Add warning about intellisense to PSIC terminate dialog This came up in a user group that many people weren't aware of, so I think enhancing this message is appropriate. --- src/session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session.ts b/src/session.ts index 57bb385715..1b367ffc8a 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?", + "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.", "Yes", "No") .then((answer) => { if (answer === "Yes") { this.restartSession(); }}); } From 166b113ffa2ab76096465e18d26a3c0fc6b0feb2 Mon Sep 17 00:00:00 2001 From: Andy Schwartzmeyer Date: Thu, 12 May 2022 16:47:51 -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 1b367ffc8a..f96bb734f7 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 session has terminated due to an error, 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(); }}); }