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

[BUG] Cursor Plugin Cannot Attaches Files in `src` folder

Open fehmisener opened this issue 1 month ago • 1 comments

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

  1. Open your IDE with the Claude Code plugin enabled.
  2. Ensure your project contains a src folder with at least one file inside (e.g., src/main.py).
  3. Attempt to attach/reference a file from the src folder using the @ symbol in any Claude Code input (e.g., "Open @src/main.py").
  4. Observe that no autocomplete or file picker options appear for files inside the src folder.
  5. Try the same attachment/reference operation for a file outside the src folder (e.g., README.md), and note that autocomplete and attachment work as expected.
  6. Repeat the attachment using Claude Code from the terminal (CLI) with the same src folder 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

fehmisener avatar Oct 27 '25 11:10 fehmisener