Skip to content

fix: file fuzzy search - #2409

Merged
rekram1-node merged 1 commit into
devfrom
fix-fuzzy
Sep 4, 2025
Merged

rekram1-node merged 1 commit into
devfrom
fix-fuzzy

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

All of the completion providers already do ordering, if there is only 1 provider we don't need to reshuffle again.

The most noticeable improvement here is for @ w/ file searches. Because the BE already uses rg to filter/sort w/ the user query, resorting with fuzzy gives worse results

Fixes: #2388

@rekram1-node

Copy link
Copy Markdown
Collaborator Author

This video demonstrates it pretty plainly, if I am searching for @complete.go I would expect the top result to contain that string if the file actually exists!

When running opencode this was not the case but with bun run dev it was

Screen.Recording.2025-09-03.at.11.18.20.PM.mov

@rekram1-node
rekram1-node merged commit a976122 into dev Sep 4, 2025
@thdxr
thdxr deleted the fix-fuzzy branch February 1, 2026 03:31
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
meSingh pushed a commit to meSingh/opencode that referenced this pull request Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File search not matching exact file matches

1 participant