Better file search, fuzzy search

Resolved 💬 16 comments Opened Jun 11, 2025 by Nikola-Milovic Closed Jan 11, 2026

Hey!

I've noticed that the file search is very iffy, for example if I have a project called web and want to access a file deeply nested in this project, for example AuthenticationPage.tsx, I'd expect to get a result for @web/AuthenicationPage.tsx but no, I have to go one by one the file structure until I approach depth that is close to the file. Which can get quite annoying considering the depth can be apps/web/src/components/auth/...

View original on GitHub ↗

16 Comments

h16rkim · 1 year ago

This issue did not exist in previous versions of Claude Code, but it has occurred in the latest version.

(I'm not sure exactly which version started having this issue, but version 1.0.17 did not have this problem.)

yakpoong · 1 year ago

I hope this issue gets resolved.

iamkeyur · 1 year ago

I am not able to find anything with filename with version 1.0.22 of Claude Code. Completely broken.

joakin · 1 year ago

The file search is very poor.

I have a bunch of files with Task in the name, and I want to find src/components/editor/prosemirror/node-views/Task.vue and as soon as I write editor/ the thing stops working. It is impossible to find that file fuzzy searching with /, and if you try just letters, like editTask it doesn't work, if you try node-views to try to see the files in the folder, it doesn't show all, just a few. It is low hanging fruit to really improve the experience.

nickrttn · 1 year ago

This is one of my biggest UX gripes with Claude Code currently and leading me to use other options

jodinathan · 11 months ago

IMO you should copy the file search from vs code

zkwokleung · 11 months ago

I love Claude Code but every time I am trying to attach a file, it's just impossible for it to find the correct file whatsoever.

guivieiras · 10 months ago

<img width="734" height="117" alt="Image" src="https://github.com/user-attachments/assets/39e57122-8a28-4195-8c8a-76e0fb6d3ee3" />

<img width="487" height="225" alt="Image" src="https://github.com/user-attachments/assets/543994d7-0b11-4ffd-a70c-1a82466ae006" />

at least any tips on using the search? I have a bunch of index.ts files, search only works if I write the exact filename. literally only reason I still didn't signed up the Max plan

*edit: just tried https://docs.claude.com/en/docs/claude-code/troubleshooting#search-and-discovery-issues, but no luck

aud · 10 months ago

It would be great if this was powered by rg and you could pass a config environment variable to override the default.

iansummerlin · 9 months ago

😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭 please

vishnukool · 8 months ago

Please address this... :(

marcinchwedczuk-asana · 8 months ago

This is especially annoying when you are working with e.g. Java or other language that uses deeply nested directory structure to reflect long package names.

github-actions[bot] · 7 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

jodinathan · 7 months ago

file search is still pretty bad. Lets keep this open

github-actions[bot] · 6 months ago

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] · 5 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.