[BUG] @file references don't work in directories added w/ `/add-dir`
Resolved 💬 3 comments Opened Jan 26, 2026 by jeremysears Closed Jan 30, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
I've added a dir w/ /add-dir. Using @file doesn't show the dir's files. If I type in the file name manually, CC doesn't locate the file w/o searching for it.
What Should Happen?
The file picker should show the file. Given a file name, CC should be able to read the file w/o searching.
Error Messages/Logs
Steps to Reproduce
/add-dir my-dir
Mention the file: @file
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.19 (Claude Code)
Platform
AWS Bedrock
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗