claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

can't reference folders and files starting with `.` , e.g., `.claude`

Open simicvm opened this issue 6 months ago • 2 comments

running on macOS 15.5 in Ghostty. latest claude code version.

I am able to reference with @ just fine most of the files in repo. however, files located in .claude or any other folder starting with . are not being picked up by @ command.

is that a bug or by design?

simicvm avatar Jun 11 '25 10:06 simicvm

^ I am also requesting this

ZachHandley avatar Jun 25 '25 16:06 ZachHandley

Same. Autocomplete doesn't recognize the .github folder so Claude can modify github actions BUT if I write out the reference, it can access the files and modify them as requested. This is definitely a bug - either the files should be hidden from referencing AND hidden from access by Claude or they should be accessible and referenceable.

AppFzx avatar Jun 25 '25 18:06 AppFzx

I'm having the same issue. It does not find the file when using @, but the agent works when writing the relative path or the reference.

tomascufaro avatar Jul 04 '25 09:07 tomascufaro

+1

christiaan-bronkhorst avatar Jul 11 '25 10:07 christiaan-bronkhorst

+1

ahmedqasid avatar Jul 17 '25 23:07 ahmedqasid

+1

ZachK543 avatar Jul 22 '25 14:07 ZachK543

+1

RealmX1 avatar Jul 24 '25 11:07 RealmX1

+1

Jropp avatar Jul 28 '25 18:07 Jropp

+1

ariel-rahmane avatar Aug 13 '25 14:08 ariel-rahmane

+1

luiz00martins avatar Aug 14 '25 20:08 luiz00martins

+1

valentin-demange avatar Aug 19 '25 14:08 valentin-demange

This is fixed now! ty @dicksontsai

ThariqS avatar Aug 22 '25 20:08 ThariqS

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.

github-actions[bot] avatar Aug 30 '25 14:08 github-actions[bot]