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

Show recently used commands [enhancement] #18

Open
biffen opened this issue Oct 24, 2014 · 5 comments · May be fixed by #87 or #103
Open

Show recently used commands [enhancement] #18

biffen opened this issue Oct 24, 2014 · 5 comments · May be fixed by #87 or #103

Comments

@biffen
Copy link

biffen commented Oct 24, 2014

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.

@ryaninvents
Copy link

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.

@jm3
Copy link

jm3 commented Mar 27, 2017

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.

@jarle jarle linked a pull request Sep 26, 2017 that will close this issue
@jarle
Copy link
Contributor

jarle commented Sep 26, 2017

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.

@t9md t9md linked a pull request Dec 5, 2017 that will close this issue
@ryanolsonx
Copy link

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

@fleXible
Copy link

I also miss it badly!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
7 participants