claude-code
claude-code copied to clipboard
[BUG] Cursor Plugin Cannot Attaches Files in `src` folder
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?
As I also explained in the title, I'm trying to attach files with @ that are in my src folder but they are not appearing there, everything else outside of that folder is available.
Also I have this behaviour only in plugin, the terminal app works fine.
What Should Happen?
I should be seeing files that are under src as well.
Error Messages/Logs
Steps to Reproduce
- Open your IDE with the Claude Code plugin enabled.
- Ensure your project contains a
srcfolder with at least one file inside (e.g.,src/main.py). - Attempt to attach/reference a file from the
srcfolder using the@symbol in any Claude Code input (e.g., "Open @src/main.py"). - Observe that no autocomplete or file picker options appear for files inside the
srcfolder. - Try the same attachment/reference operation for a file outside the
srcfolder (e.g.,README.md), and note that autocomplete and attachment work as expected. - Repeat the attachment using Claude Code from the terminal (CLI) with the same
srcfolder and observe that attachment works for all files.
Claude Model
None
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
Claude Code for VS Code v2.0.27
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Cursor
Additional Information
No response