-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fuzzy search for autocomplete #3084
Comments
Duplicate of #1015 |
Not a duplicate. |
However this should already work out of the box? We fuzzy filter the completion. |
Suggestions in the middle don't seem to work (or they work but randomly in at least rust-analyzer).
This seems to work with rust-analyzer.
Case insensitive autocomplete doesn't work (tested with rust-analyzer and the Dart LSP). |
So this seems to be due to filtering the completion results and removing completions that don't start with the current word: helix/helix-term/src/commands.rs Lines 3712 to 3722 in fb62569
|
This commit removes the still existing filtering by prefix and should enable full fuzzy sorting of the autocomplete menu. closes helix-editor#3084, helix-editor#1807
PR helix-editor#4134 switched the autocomplete menu from alphabetical to fuzzy sorting. This commit removes the still existing filtering by prefix and should enable full fuzzy sorting of the autocomplete menu. closes helix-editor#3084, helix-editor#1807
PR #4134 switched the autocomplete menu from alphabetical to fuzzy sorting. This commit removes the still existing filtering by prefix and should enable full fuzzy sorting of the autocomplete menu. closes #3084, #1807 Co-authored-by: Blaž Hrastnik <[email protected]>
PR helix-editor#4134 switched the autocomplete menu from alphabetical to fuzzy sorting. This commit removes the still existing filtering by prefix and should enable full fuzzy sorting of the autocomplete menu. closes helix-editor#3084, helix-editor#1807 Co-authored-by: Blaž Hrastnik <[email protected]>
PR helix-editor#4134 switched the autocomplete menu from alphabetical to fuzzy sorting. This commit removes the still existing filtering by prefix and should enable full fuzzy sorting of the autocomplete menu. closes helix-editor#3084, helix-editor#1807 Co-authored-by: Blaž Hrastnik <[email protected]>
Describe your feature request
Adding a fuzzy-find capability to autocomplete would be awesome! It's probably my favorite feature from VSCode that I miss in Helix. In particular, the VSCode autocomplete provides the following types of suggestions that I'm missing:
back
, the autocomplete will suggest options likemy_data_backup
bgvn
, the autocomplete will suggest options like_big_global_variable_name
The text was updated successfully, but these errors were encountered: