-
Notifications
You must be signed in to change notification settings - Fork 519
Rename "Integrated Console" to "Extension Terminal" #4090
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -220,9 +220,13 @@ export class SessionManager implements Middleware { | |
if (this.sessionSettings.integratedConsole.suppressStartupBanner) { | ||
this.editorServicesArgs += "-StartupBanner '' "; | ||
} else { | ||
const startupBanner = `=====> ${this.HostName} Integrated Console v${this.HostVersion} <===== | ||
const startupBanner = `${this.HostName} Extension v${this.HostVersion} | ||
Copyright (c) Microsoft Corporation. | ||
|
||
https://aka.ms/vscode-powershell | ||
Type 'help' to get help. | ||
`; | ||
this.editorServicesArgs += `-StartupBanner '${startupBanner}' `; | ||
this.editorServicesArgs += `-StartupBanner "${startupBanner}" `; | ||
} | ||
|
||
if (this.sessionSettings.developer.editorServicesWaitForDebugger) { | ||
|
@@ -291,7 +295,7 @@ export class SessionManager implements Middleware { | |
|
||
public createDebugSessionProcess(sessionSettings: Settings.ISettings): PowerShellProcess { | ||
|
||
// NOTE: We only support one temporary integrated console at a time. To | ||
// NOTE: We only support one temporary Extension Terminal at a time. To | ||
// support more, we need to track each separately, and tie the session | ||
// for the event handler to the right process (and dispose of the event | ||
// handler when the process is disposed). | ||
|
@@ -304,14 +308,14 @@ export class SessionManager implements Middleware { | |
new PowerShellProcess( | ||
this.PowerShellExeDetails.exePath, | ||
this.bundledModulesPath, | ||
"[TEMP] PowerShell Integrated Console", | ||
"[TEMP] PowerShell Extension", | ||
this.log, | ||
this.editorServicesArgs + "-DebugServiceOnly ", | ||
this.getNewSessionFilePath(), | ||
sessionSettings); | ||
|
||
// Similar to the regular integrated console, we need to send a key | ||
// press to the process spawned for temporary integrated consoles when | ||
// Similar to the regular Extension Terminal, we need to send a key | ||
// press to the process spawned for temporary Extension Terminals when | ||
// the server requests a cancellation os Console.ReadKey. | ||
this.debugEventHandler = vscode.debug.onDidReceiveDebugSessionCustomEvent( | ||
e => { | ||
|
@@ -477,7 +481,7 @@ export class SessionManager implements Middleware { | |
new PowerShellProcess( | ||
this.PowerShellExeDetails.exePath, | ||
this.bundledModulesPath, | ||
"PowerShell Integrated Console", | ||
"PowerShell Extension", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Explicitly no "Terminal" addendum because this is what's displayed in the list of terminals. |
||
this.log, | ||
this.editorServicesArgs, | ||
this.getNewSessionFilePath(), | ||
|
@@ -532,7 +536,7 @@ export class SessionManager implements Middleware { | |
|
||
private async promptForRestart() { | ||
const response: string = await vscode.window.showErrorMessage( | ||
"The PowerShell Integrated Console (PSIC) has stopped, would you like to restart it? (IntelliSense will not work unless the PSIC is active and unblocked.)", | ||
"The PowerShell Extension Terminal has stopped, would you like to restart it? IntelliSense and other features will not work without it!", | ||
"Yes", "No"); | ||
|
||
if (response === "Yes") { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,7 +82,7 @@ function Get-Bullets { | |
'Area-Documentation' = '📖' | ||
'Area-Engine' = '🚂' | ||
'Area-Folding' = '📚' | ||
'Area-Integrated Console' = '📟' | ||
'Area-Extension Terminal' = '📟' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I renamed the labels on GitHub too. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You think of everything! |
||
'Area-IntelliSense' = '🧠' | ||
'Area-Logging' = '💭' | ||
'Area-Pester' = '🐢' | ||
|