Hidden Files Not Displayed with '@.hidden' Command
Status Fixed / completed
Maintainer reply ✓ Yes — ollie-anthropic
Activity 12 comments · opened Jun 19, 2025 · closed Jul 31, 2025
💡 Likely answer: A maintainer (ollie-anthropic, collaborator)
responded on this thread — see the highlighted reply below.
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"}]
12 Comments
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
.claudebut you have to just type it out by handAdding
!.*
!.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.gitignorefixed it for me.Linking related issues for visibility - please upvote if you're experiencing this too:
Feels like this might be relevant too:
You can still reference hidden files e.g.
@.github/workflows/ci.yml- but only by typing them out 😅This worked for me too!
Can confirm this too.
Hey all, hidden files should be available now for searching in the latest release (v1.0.64) :)
<img width="229" height="67" alt="Image" src="https://github.com/user-attachments/assets/34f84fa4-e217-427e-a186-d3717148b9eb" />
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.