Skip to content

Default behaviour of the Terminate/Restart Current Task if only one task to choose that task automatically #51699

@GeorgeWL

Description

@GeorgeWL

If one were to run workbench.actions.tasks.terminate or workbench.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?)

Metadata

Metadata

Assignees

Labels

tasksTask system issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions