Skip to content

Better sorting of the suggestions using the built-in fuzzy finder. #684

@mauricioszabo

Description

@mauricioszabo

Is your feature request related to a problem? Please describe.
So, @m1ga opened this issue in Pulsar: pulsar-edit/pulsar#994. It's basically a problem with the autocomplete's sorting.

Describe the solution you'd like
Since some versions, Pulsar is exposing the fuzzyFinder API that's used basically everywhere; you could use it instead by calling atom.ui.fuzzyMatcher.score(suggestion, query)

Describe alternatives you've considered
Implement your own sorting algorithm or using some library like FuzzyFinder (which is, basically, what Pulsar uses behind the scenes, so nothing would actually change)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions