[Feature Request] Implement fuzzy file search for @ symbol file mentions
Feature Request
I think there is room for improvement in Claude Code’s search when mentioning a file with the @ symbol. At the moment, since I don’t remember the full path of the file, I only type the file name. Even though the file name is a correct partial match, I still need to scroll through a long list and pick the right one with the arrow keys, which is really annoying.
I think if Claude Code can replace the current mechanism with a proper fuzzy file search (similar to fzf-style matching), it would be a big UX win. Typing a partial name (even from the middle of the file or path) should immediately surface the most relevant file at the top so I can just hit Enter, instead of manually hunting through a list every time.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.15
- Feedback ID: 3843a2c4-9967-4856-bb61-2dae963fed90
Screenshots
Typing 7-5 brings my cursor on top of a totally unrelated entry
<img width="898" height="391" alt="Image" src="https://github.com/user-attachments/assets/f8d5915d-7a93-4a80-a52f-80804998d5cb" />
That file actually exists
<img width="881" height="315" alt="Image" src="https://github.com/user-attachments/assets/549da866-12fe-4847-93bb-7c1a439a8a9a" />
What I expect(neovim, snacks.nvim plugin I think)
<img width="919" height="190" alt="Image" src="https://github.com/user-attachments/assets/2004cf87-beb5-44ee-b3a0-d90de3b85416" />
Additional Notes
There are some related issues like #9568, which mentions fzf, but it is more of a bug request than a feature request same for https://github.com/anthropics/claude-code/issues/15816 which mentions the problems about the @ logic.
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗