Skip to content

The @ file search feature fails to find some files in a very large or complex project #5721

@Naituw

Description

@Naituw

App Version

3.23.10

API Provider

OpenAI

Model Used

N/A

Roo Code Task Links (Optional)

No response

🔁 Steps to Reproduce

  1. Prepare a large or complex project, open it with VSCode
    • Large: Contains over 10,000 files
    • Complex: Contains multiple subprojects, each project are ignored in the main repo's .gitignore file
  2. Disable VSCode's search.useIgnoreFiles setting
  3. Try to use '@' file picker in the RooCode input box
  4. Attempt to search for files that exist in the project
  5. Notice that many files are not found, while VSCode's "Quick Open" panel is able to find them

Some background info:
The project I'm working on is a very large one with over 140,000 source files, and is a monorepo with multiple sub-repositories managed by custom tools/scripts, so each sub-repo path are ignored in the main repo's .gitignore file.

The @ file search feature barely works in this project, while VSCode's quick open panel works fine with search.useIgnoreFiles disabled.

💥 Outcome Summary

Expected @ file search can find any file in the project like VSCode's quick open picker, but it fails to find many files.

📄 Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

Labels

Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

Type

No type

Projects

Status

Issue [In Progress]

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions