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

Enable keyboard navigation in keys search results and abbreviation search #117

Closed
katzuv opened this issue Dec 22, 2023 · 4 comments
Closed
Labels
enhancement New feature or request

Comments

@katzuv
Copy link
Contributor

katzuv commented Dec 22, 2023

It'd be nice to be able to navigate the keys search results menu with up/down keys. Also, abbreviation search might be useful. Not sure if that is the technical term, but that's what I mean:
image
It can also be more reserved as IntelliJ IDEA does that -- only prefixes of words are accepted (hence the "e" at the end will make no results shown).

@katzuv katzuv added the enhancement New feature or request label Dec 22, 2023
@jwbonner
Copy link
Member

Currently, the search looks for any key where the search text appears. Is this different than your suggestion to match the IntelliJ behavior?

@katzuv
Copy link
Contributor Author

katzuv commented Dec 22, 2023

Yes, for example for the field "Auto Chocies", IntelliJ IDEA will match ac or auch too (Auto Choices).

@12Jeef
Copy link

12Jeef commented Jan 1, 2024

I suggest FuseJS for abbreviation search.

jwbonner added a commit that referenced this issue Feb 7, 2024
Switches to Fuse.js, which is faster than the old approach and supports fuzzy matching
@jwbonner
Copy link
Member

jwbonner commented Feb 7, 2024

Both of these features are now implemented. You can use the keyboard (up, down, enter) to navigate through the search results, and it uses FuseJS as the backend so the search term doesn't need to appear identically in the key.

@jwbonner jwbonner closed this as completed Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants