镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Consider enhance the history searching in PSReadLine to use fuzzy-match algorithm as in fzf #3339

Open

Description

Prerequisites

  • Write a descriptive title.

Description of the new feature/enhancement

Consider enhance the history searching in PSReadLine to use fuzzy-match algorithm as in fzf.

Proposed technical implementation details (optional)

The searching supported in fzf is more comprehensive. We don't need to support all of them, but replacing the current history searching with fuzzy-match algorithm would be nice.

Activity

  1. ghost added
    Needs-Triage 🔍It's a new issue that core contributor team needs to triage.
    on Jun 6, 2022
  2. thomazmoura commented on Sep 13, 2022

    @thomazmoura

    You might want to check https://github.com/kelleyma49/PSFzf for a reference of implementation. I've been using it for a while and it works quite well (used it all the time before the prediction feature came out).

  3. daxian-dbw commented on Nov 7, 2022

    @daxian-dbw
    MemberAuthor

    We don't want to wrap fzf, but want to implement the same fuzzy searching algorithm used in fzf.
    The fuzzy scorer in VSCode is another option: https://github.com/microsoft/vscode/blob/3fc3965c15b5e22014636a5be08f2cbdb7e05bec/src/vs/base/common/fuzzyScorer.ts#L25

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

Metadata

Metadata

Labels

Area-HistoryImprovementsLabel for tracking different improvements to historyArea-PredictorsLabel for issues related to predictorsIssue-EnhancementIt's a feature request.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions