-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Separate "user terminals" from non-user terminals #88859
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
(Experimental duplicate detection) |
We can't really make a judgement about what a "user" terminal is though since extensions can create terminals that you would use just like any other (eg. https://marketplace.visualstudio.com/items?itemName=Tyriar.shell-launcher). Are extensions misbehaving by showing you these terminals? I haven't used the PS extension much and the Maven one at all, but extensions can create backgrounded terminals and only surface them in the UI when the user requests them via the |
With "user terminal" I mean: any terminal that I open myself. Admittedly, I hadn't thought of the kind of extensions such as your Shell launcher, which would indeed classify as user terminals as well. They're not misbehaving per se, but they:
So if PowerShell/vscode-powershell#2434 is already solvable with existing API, this issue can be closed and I'll wait for tabs or Windows Terminal integration. |
You can always hook up windows terminal as your "external terminal" to make launching it easier ( Closing in favor of PowerShell/vscode-powershell#2434 |
Typically I have 1 to 3 terminals that I work with. However, extensions such as PowerShell and Maven for Java also create terminals of their own.
In the case of PowerShell, 1 terminal is created, in order to provide autocompletion etc. for PowerShell files. However, I don't ever want to use that terminal for anything myself (because it doesn't work the same as a PowerShell terminal that I create myself).
In the case of Maven for Java, 1 terminal is created per Maven project. However, since each terminal is created at the time of first running a command, they mingle with "my" terminals (i.e. the ones that I explicitly created & work with).
So what I would like, is for VS Code to make a clear separation between the terminals I work with, and any other auxiliary terminals created by extensions.
There are many ways to go about this, but I propose the following:
workbench.action.terminal.focusPrevious
and...focusNext
skip any non-user terminals, so that I can still easily cycle through my terminalsThe text was updated successfully, but these errors were encountered: