Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FZF style selection menus for building richer UI’s #24012

Open
KritR opened this issue Jul 4, 2024 · 2 comments
Open

FZF style selection menus for building richer UI’s #24012

KritR opened this issue Jul 4, 2024 · 2 comments
Labels
Issue-Enhancement the issue is more of a feature request than a bug Needs-Triage The issue is new and needs to be triaged by a work group.

Comments

@KritR
Copy link

KritR commented Jul 4, 2024

Summary of the new feature / enhancement

I would love to see a richer set of terminal focused UI commands so I can ship scripts that are more friendly to use for users, without requiring them to pull in a lot of dependencies.

Ever since the release of fzf (https://github.com/junegunn/fzf), fuzzy search in a terminal is a core interaction for any application where I want a less than perfect answer. Say I want to find a file in a folder or search through git branches, fuzzy search allows me to pass in related characters in hope that I might discover what I’m looking for.

Proposed technical implementation details (optional)

Implement a Find-ItemFuzzy or Get-Item -Interactive that users can pipe entries into / pass in an arg to for fuzzy searching through a list of values.

@KritR KritR added Issue-Enhancement the issue is more of a feature request than a bug Needs-Triage The issue is new and needs to be triaged by a work group. labels Jul 4, 2024
@rhubarb-geek-nz
Copy link

There have been a few requests for fuzzy features and they generally suggest they should be implemented as PSGallery modules.

#11298
#21163
#11487

@trackd
Copy link

trackd commented Jul 6, 2024

there is a fairly new module, PowerShellRun

it's very nice and has alot of configuration options.

It does support piping a filelist into it to use the fuzzy search Invoke-PSRunSelector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement the issue is more of a feature request than a bug Needs-Triage The issue is new and needs to be triaged by a work group.
Projects
None yet
Development

No branches or pull requests

3 participants