-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Default behaviour of the Terminate/Restart Current Task if only one task to choose that task automatically #51699
Comments
(Experimental duplicate detection)
|
Dups #47853. |
I'm very much looking forward to a solution to this as well. I've wasted countless clicks on that "terminate previous task" button. :) |
I ended up implementing a workaround using the new tasks API: https://marketplace.visualstudio.com/items?itemName=vshaxe.terminator |
that's not really related to this issue at all...it does get rid of the popup I suppose, which is another unrelated issue. @Gama11 |
Yeah, I suppose you're right. It's a bit different, but still related. :) |
If one were to run
workbench.actions.tasks.terminate
orworkbench.actions.tasks.restart
after setting a custom keybinding for them, the UI will always prompt for the user to choose which tasks to restart/terminate.This is great if there's multiple tasks running. But if there's only one task running then it can be a major annoyance and slow down your workflow.
I propose that the behaviour can be set (with a workbench setting) to select the only running item by default if there's no other running tasks. (A naive tasks.length == 1 check would do it or something like that?)
The text was updated successfully, but these errors were encountered: