Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Show recently used commands [enhancement] #18

Open

Description

@biffen

Currently the list of commands shown before one types anything is, as I understand, simply sorted alphabetically.

It would be nice if the most recently used commands were at the top of the list. It wouldn't have to be based on statistics since the beginning of time and weighted by a thousand variables; just the last, say, ten commands at the top in (reverse) chronological order would do.

This way even commands without a keybinding wouldn't be more than a ctrl-shift-p, enter away when used repeatedly.

Naturally, this feature could be turned off (or on) with a configuration parameter.

Activity

  1. ryaninvents commented on Dec 16, 2016

    @ryaninvents

    This would be amazing if it were implemented via the services mechanism. Results sorting could use sorts exposed by other packages.

    Off the top of my head, I don't know if Atom's preferences (config) interface permits on-the-fly adjustment of options presented in a <select> list, but if it's possible: when a service is registered it could specify one (or more) sorting function(s) which the user could then select in the command-palette config.

  2. jm3 commented on Mar 27, 2017

    @jm3

    Hi! I would love to see this feature come to fruition. I've never hacked on the Atom codebase before, so is there any way I can help drum up some support for this feature? It has a lot up-votes and has been an open issue since 2014 :)

    In command-launchers/switchers like Alfred, and it's common to have the option to sort commands by most-recently used (MRU) or some similar, user-centric style. I think this would be a nice benefit.

  3. jarle commented on Sep 26, 2017

    @jarle
    Contributor

    I have taken a stab at this in #87 🙂 Two new options are introduced in my PR, sorting by either frequency or by most recently used. I will write some tests in the coming days and try to get someone to review the changes.

  4. ryanolsonx commented on Jun 20, 2018

    @ryanolsonx

    What's the status of this? Can someone check out the pull request #87?

  5. fleXible commented on Sep 21, 2019

    @fleXible

    I also miss it badly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions