Hidden Files Not Displayed with '@.hidden' Command
Bug Description Hidden Files/Directories not shown using '@' command
using @.hidden doesn't work, hidden files/dirs not shown if preceeded by '.' I expect it to follow .gitignore or possibly VS code's ignore settings and them to be overidden by explicitly writing a '.'
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 1.0.30
- Feedback ID: fbe40168-20d6-4db8-9433-d15049063971
Errors
[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:882:11)\n at execSync (node:child_process:954:15)\n at NZ (file:///Users/sean.middleton/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:699:3921)\n at file:///Users/sean.middleton/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:9014\n at Q (file:///Users/sean.middleton/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n at QX (file:///Users/sean.middleton/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:8160)\n at kS (file:///Users/sean.middleton/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:7241)\n at L9 (file:///Users/sean.middleton/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:11408)","timestamp":"2025-06-19T21:07:52.233Z"}]
agree with you @MiddSea - this seems like a bug - there are a lot of files that we want claude to look at in hidden directories (even outside of .claude but you have to just type it out by hand
Adding
!.* !.config/ !.config/**/*
to my .gitignore allowed claude to discover hidden files with @
^ well that worked for a day, i don't know why but no longer works
I am also experiencing this issue. Can't reference my .github/ workflows.
Adding !.* at the top of .gitignore fixed it for me.
Linking related issues for visibility - please upvote if you're experiencing this too:
- #2336
- #1818
- #611
Feels like this might be relevant too:
- https://github.com/anthropics/claude-code/issues/2305
You can still reference hidden files e.g. @.github/workflows/ci.yml - but only by typing them out 😅
Adding
!.*at the top of.gitignorefixed it for me.
This worked for me too!
Adding !.* at the top of .gitignore fixed it for me.
Can confirm this too.
Hey all, hidden files should be available now for searching in the latest release (v1.0.64) :)
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.