-
Notifications
You must be signed in to change notification settings - Fork 510
Setting integratedConsole.showOnStartup
to false is not being respected in v2022.8.4
#4151
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
Are you saying that the pane is opened if it is not already? Please see #4096. |
OMG, I'm gutted. It completely breaks my workflow in VSCode. I'm working with many repositories in a single workspace, and the easiest way to change context of the terminal is to just close pwsh and open it in context of another repository. I don't need, and I don't want the PowerShell Extension terminal to be visible in opened terminals ever, unless I can close it without errors and keeping my intellisense working, or maybe pin it, so I couldn't close it. I just work with too many terminals to keep an eye which one may be closed next from shortcut command. I practically spend half my life in PowerShell terminal in VSC, and it was an excellent experience. Please, please bring back the option to completely hide it - the idea of the new background process settings mentioned in #4096 is also great. One more thing, terminal integration just has been introduced last month to VSCode, and it doesn't even work in PowerShell Extension terminal, what's the point introducing such features if you kill the possibility to use it? |
Sorry about that, but it unfortunately caused a lot more issues the other way around!
The terminal does need to be running for your IntelliSense to work. I like the idea of making it pin-able. Can your shortcut command just avoid closing the terminal explicitly named "PowerShell Extension"? All your other terminals should be named "pwsh" or at least something different from the extension's terminal.
We could add a separate setting that does not collide with
I'm sorry, I don't know what you mean here. We're not killing any possibility of using it at all; in fact, getting the terminal integration in VS Code working in the PowerShell Extension Terminal is on our shortlist of new feature work and should be available pretty soon! I have no idea what gave you the impression we were "killing" that feature. |
I know that, and it was running, I just wasn't bothered by it in the terminal pane, and could close all active terminals without facing any errors.
Any idea how can I achieve that? I'm using Edit. OK, so the
Honestly, I have no idea what can be done here if you don't like the idea of hiding that.
OK, sorry, I probably overreacted. It was just a bad timing, I've simply updated VSCode month ago, got the terminal integration feature and the same time update to PowerShell-Preview, which forced the PowerShell Extension terminal on me, and the feature was gone, so the impression was, like it took it from me. Switched back to PowerShell (non-preview) and thought it's probably just a bug and will be ironed out for 2022.8 GA release, but checked it in latest preview, and being still there, motivated me to make the bug issue. |
Ok, we were considering a |
integratedConsole.showOnStartup
to false is not being respected in v2022.8.4
Wow, great. Thank you so much :). And I agree that the new setting name much better reflects what it does and is no more confusing. |
You're welcome! |
Prerequisites
Summary
In the PowerShell Preview extension the setting
"powershell.integratedConsole.showOnStartup": false
is not being respected and the PowerShell Extension terminal is always visible.On existing PowerShell extension (v2022.7.2) the PowerShell Extension terminal is not visible and you can safely close all the active terminals without errors: "The Powershell Extension Terminal has stopped...", "Connection to PowerShell Editor Services (...) was closed...".
PowerShell Version
Visual Studio Code Version
Extension Version
[email protected]
Steps to Reproduce
Set
"powershell.integratedConsole.showOnStartup": false
and open any terminal with ps1 script active in Editor pane. The PowerShell Extension terminal will be opened along the selected terminal which shouldn't be the case.Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: