You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow pinning of commands in Run recent command quickpick #154388
During the release party, someone requested being able to pin commands that you might run frequently to the top of the Terminal: run recent command quick-pick.
Another person suggested it would be helpful if doing so stored that command in user/workspace configuration for reuse.
Combining these ideas, we are thinking that pinning would create a user task, move the entry to the top in a new category favorite commands, and a gear button would appear next to the entry in the quick-pick allowing it to be configured or removed.
Daniel Imms (@Tyriar) have discussed it and think this feature would help people to discover and configure tasks more easily, something I have cited is a problem even for me #152657
We would likely introduce a new task type such as savedCommand that would align in most ways with how type:shell is currently handled, but with a smaller set of supported properties initially.
Kai suggested we first add a section to the Run task quickpick that is something like Recently run commands similar to how the npm tasks work for example.
@misolori that's basically what I was envisioning. The most interesting part about this idea is how it could be an entry point into tasks. I haven't fully thought through the consequences of that though; should these instead just be their own thing, how are they persisted if so, what are we missing out on if they are not part of the tasks system.
I also wonder whether this should be a quick pick option that can be used in other places? Not sure how much of a use case it would be but worth testing out
I also wonder whether this should be a quick pick option that can be used in other places? Not sure how much of a use case it would be but worth testing out
Someone once opened an issue to pin commands (in the command palette). It was automatically closed because it did not get enough upvotes at the time, but I thought it was a good idea. So there is at least one use case to make pinning in quick inputs a generic thing that can be enabled as needed. Here is the issue I am referring to: #81584. Just something to consider.
Activity
Tyriar commentedon Jul 7, 2022
Another idea:
"type": "shellCommand"?meganrogge commentedon Jul 7, 2022
@misolori It might be helpful to see a mockup of this
meganrogge commentedon Jul 7, 2022
Kai suggested we first add a section to the


Run taskquickpick that is something likeRecently run commandssimilar to how thenpmtasks work for example.miguelsolorio commentedon Jul 11, 2022
I can see having a "pin" icon on hover for each item that then adds it to its own category:
Tyriar commentedon Jul 11, 2022
@misolori that's basically what I was envisioning. The most interesting part about this idea is how it could be an entry point into tasks. I haven't fully thought through the consequences of that though; should these instead just be their own thing, how are they persisted if so, what are we missing out on if they are not part of the tasks system.
miguelsolorio commentedon Jul 11, 2022
I also wonder whether this should be a quick pick option that can be used in other places? Not sure how much of a use case it would be but worth testing out
oaahmad commentedon Aug 5, 2022
Someone once opened an issue to pin commands (in the command palette). It was automatically closed because it did not get enough upvotes at the time, but I thought it was a good idea. So there is at least one use case to make pinning in quick inputs a generic thing that can be enabled as needed. Here is the issue I am referring to: #81584. Just something to consider.
Tyriar commentedon Aug 10, 2022
Related: #131128
Make 'pinned' casing consistent