-
Notifications
You must be signed in to change notification settings - Fork 510
When showOnStartup is off, integrated console only starts during debugging #2523
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
Comments
I would suggest replacing the I think that might actually overlap with another option too. |
I would even suggest that the default should be changed to I presume that this behaviour was only added in the first place to make people coming from the ISE more comfortable, but since there is now an 'Enable ISE Mode' option in the command palette, it makes more sense to me that this should be what changes the setting to |
Well the Integrated Console runs all the language features of the extension; the terminal is created whether its shown or not, since otherwise the extension won't do very much. Certainly most users expect the console to show immediately. We are most often compared to the ISE, but even without the comparison it's something that is very much an intentional part of the extension's architecture. So the three scenarios are:
I'd imagine something like:
|
@ThubLives you can also open the integrated console using the command |
@rjmholt As someone who has adopted vscode as a common code editor for quite a few languages, it seems odd that the PowerShell extension is the only language-based extension I've used that wants to change the layout every time it's started. To that end, these look sensible to me.
|
@SydneyhSmith That will help as a workaround, thank you! It's not a great experience, but ultimately a better config option will take care of that, so I'll use this in the meantime. |
Issue Description
If powershell.integratedConsole.showOnStartup is set to false, the workbench.action.terminal.toggleTerminal command starts the default terminal instead of the integrated PowerShell terminal. In version 2020.1.0 and earlier, the integrated PowerShell terminal would be started when using toggleTerminal, rather than the default terminal.
The only obvious way to start the integrated terminal is to start debugging (F5) or close any open terminals and use F8 to run a line of code from the editor.
Attached Logs
vscode-PS-2020.3.0-logs.zip
Environment Information
Visual Studio Code
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
The text was updated successfully, but these errors were encountered: