Skip to content

Allow pinning of commands in Run recent command quickpick #154388

Closed

Description

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.

Activity

  1. added
    feature-request
    tasks
    terminal
    on Jul 7, 2022
  2. Tyriar commented on Jul 7, 2022

    @Tyriar
    Contributor

    Another idea: "type": "shellCommand"?

  3. meganrogge commented on Jul 7, 2022

    @meganrogge
    CollaboratorAuthor

    @misolori It might be helpful to see a mockup of this

  4. meganrogge commented on Jul 7, 2022

    @meganrogge
    CollaboratorAuthor

    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.
    Screen Shot 2022-07-07 at 5 41 32 PM
    Screen Shot 2022-07-07 at 5 41 22 PM

  5. miguelsolorio commented on Jul 11, 2022

    @miguelsolorio
    Contributor

    I can see having a "pin" icon on hover for each item that then adds it to its own category:

    CleanShot 2022-07-11 at 15 04 34@2x

    CleanShot 2022-07-11 at 15 05 25@2x

  6. Tyriar commented on Jul 11, 2022

    @Tyriar
    Contributor

    @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.

  7. miguelsolorio commented on Jul 11, 2022

    @miguelsolorio
    Contributor

    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

  8. oaahmad commented on Aug 5, 2022

    @oaahmad

    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.

  9. Tyriar commented on Aug 10, 2022

    @Tyriar
    Contributor

    Related: #131128

  10. removed their assignment
    on Aug 12, 2022
  11. added
    unreleased
    on Aug 18, 2022
  12. added
    insiders-released
    and removed
    unreleased
    on Aug 19, 2022
  13. locked and limited conversation to collaborators on Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestinsiders-releasedon-testplantasksterminal

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions