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.

Order command palette results by matching score #28

Closed

Description

@nicktimko

When searching for commands in the palette, the order is usually baffling (see #2). Short of #18, which requires use in order to get tuned, I propose ordering the commands by how well they match the search term. Ideally if I type a word, if it exists, unbroken, and perhaps in it's entirety, I would expect to see those results above Find And Replace: Select All

I do like the idea of #18, but one can argue about the UX, a la the adaptive menus in Office 2000 wherein shuffling around commands should be done with care. This proposes to keep a fixed order for any given search term.

image

Activity

  1. alexchandel commented on Aug 2, 2015

    @alexchandel

    This issue is infuriating, and it makes demos of Atom go hilariously bad.

    A: Watch how easy it is to install packages!
    <Cmd+P, i,n,s,t,a,l,l>
    A: ...
    B: I'm gonna stick to X, thanks.
    
  2. FunkMonkey commented on Aug 27, 2015

    @FunkMonkey

    👍

    The package that is used for fuzzy matching, atom/fuzzaldrin, even provides a scorer. Implementing it should thus be relatively easy. Dunno about performance though...

  3. jcuenod commented on Nov 13, 2015

    @jcuenod

    Is anything happening on this because infuriating is a good word to describe this issue...

  4. winstliu commented on Nov 13, 2015

    @winstliu
    Contributor

    @jcuenod Make sure you're on Atom 1.2.0, then go to the Command Palette settings and enable the Alternate Scoring option.

  5. jcuenod commented on Nov 13, 2015

    @jcuenod

    Hmm, I'm on 1.2.0 but I'm not seeing an alternate scoring option under the Command Palette settings. The only setting I see is to enable (or rather, disable) the keybinding.

  6. winstliu commented on Nov 13, 2015

    @winstliu
    Contributor

    Ah, I see now. Unfortunately, that option didn't make it into 1.2.0. It should be in the 1.3.0 betas though if you want to try those.

  7. jcuenod commented on Nov 13, 2015

    @jcuenod

    Okay, thanks. I'll have a go but I kind of like having a mostly-stable editor :)

  8. lee-dohm commented on Jun 11, 2016

    @lee-dohm
    Contributor

    This has been fixed for a while now and the alternate scoring is the default. Closing.

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