Skip to content

Allow suggested list for Run>Task... to be modified #80649

@CurtisDS

Description

@CurtisDS

First off this is similar to another request #30419 but I think different enough it deserves its own post.

I have so many tasks, most of which are just variations of another....

I find the recently used suggestions to mostly hinder my experience as I have to keep searching the list for the task I would like to run.

I would like to see the ability to set the number of "recently used tasks". This way I can limit it to only show 2 or 3.

The other configuration I would like is to be able to always show the tasks in alphabetical order.

Currently, the suggested task list is formatted as such:

---------------------------------------------
recently used tasks (sorted by last used)
---------------------------------------------
remaining declared tasks (sorted alphabetically)
---------------------------------------------
detected tasks
---------------------------------------------

Example:

---------------------------------------------
build-x-debug             recently used tasks
serve-y-debug
build-y-debug
update-major
build-y-live
serve-x-debug
build-all-prod
serve-x-live
build-x-live
update-minor
build-y-prod
build-y-prod
---------------------------------------------
build-all-test                configure tasks
build-x-prod
serve-y-live
update-patch
---------------------------------------------
npm: install                   detected tasks
npm: e2e
---------------------------------------------

In other words if a task is the recently used list it will not be in the centre list, ideally I think it would be beneficial to have this centre list always contain every task that is defined that way you can skim the recently used list but if you miss it there, you will know that it is always going to be in the same spot in that centre list. Along with limiting the number of recently used tasks I believe this will make the suggested list much more usable.

---------------------------------------------
recently used tasks (sorted by last used)
---------------------------------------------
all declared tasks (sorted alphabetically)
---------------------------------------------
detected tasks
---------------------------------------------

Example:

---------------------------------------------
build-x-debug             recently used tasks
serve-y-debug
build-y-debug
---------------------------------------------
build-all-prod                configure tasks
build-all-test
build-x-debug
build-x-live
build-x-prod
build-y-debug
build-y-live
build-y-prod
serve-x-debug
serve-x-live
serve-y-debug
serve-y-live
update-major
update-minor
update-patch
---------------------------------------------
npm: install                   detected tasks
npm: e2e
---------------------------------------------

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitygood first issueIssues identified as good for first-time contributorstasksTask system issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions