@ completion for filenames looks broken

Resolved 💬 8 comments Opened Oct 15, 2025 by hboon Closed Jan 26, 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?

The completion/suggestions for @ file mention looks broken. I often have to edit the @-mentions a few times to find the file I want. I have a file frontend/src/views/AnalyticsView.vue (it's the 7th entry in the 2nd screenshot).

But at the project root, it doesn't appear if I type @analview (1st screenshot) and it appears for @analyview (2nd screenshot)

<img width="441" height="171" alt="Image" src="https://github.com/user-attachments/assets/725a43fe-904a-48b0-8e70-84c50e293de7" />
<img width="474" height="272" alt="Image" src="https://github.com/user-attachments/assets/52d4db44-1ea5-427d-ae9d-8d7e4cc22dd3" />

What Should Happen?

I expect the 1st screenshot to have more entries than the 2nd and also in the second screenshot, I don't understand why the first entry (which doesn't contain "view" is included)

Error Messages/Logs

Steps to Reproduce

Can see in description above

Claude Model

Sonnet (default)

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.0.15 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗