feat(opencode): fff search tools#27802
Conversation
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: Based on the search results, I found 2 potentially related PRs that address similar fff search functionality:
Why they're related: All three PRs focus on integrating fff (a fuzzy file finder) with the search functionality. PR #27802 implements fff pickers for file search, content search, directories, and mixed search - which could potentially be addressing the same feature set as the earlier PRs. You may want to check if these earlier PRs were completed, merged, or abandoned to determine if #27802 is a duplicate effort or a continuation/improvement of prior work. |
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
359023d to
c53db50
Compare
| ) | ||
| } | ||
|
|
||
| if (result.hasNextPage) { |
There was a problem hiding this comment.
this is replaces the truncated message above. Needed because fff doesn't perform the full search once it found requested amount (there could be a bit more if certain file contains a ton of results as the internal pagination is happening over files)
This saves a ton of system resources on large directories when we can reduce amount of syscalls spent on opening and reading files
Co-Authored-By: Shoubhit Dash <shoubhit2005@gmail.com>
c53db50 to
e69acf4
Compare
Issue for this PR
Closes #<you guys know right?>
Type of change
What does this PR do?
This implements fff pickers for the all file search operation - file search, content search, directories & mixed search.
If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!
How did you verify your code works?
bun test
bun dev .
bun run bench-fff.ts
Checklist
If you do not follow this template your PR will be automatically rejected.