[BUG] File locator doesn't include enough directory entries when searching
Resolved 💬 2 comments Opened May 5, 2026 by winterqt Closed May 7, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When using @ to search for files, it limits the total amount of directory entries that are searchable.
What Should Happen?
It shouldn't limit it, or the limit should be much higher -- I'm running into this on multiple directories.
Error Messages/Logs
Steps to Reproduce
- Create a folder with ~1,000 files in it
- Try to find one with
@that is towards the middle or end of the list (alphabetically, seemingly) - Observe that it doesn't work
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.128
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗