[BUG] @ file picker autocompletes a partial path when using TAB instead of the whole path

Resolved 💬 2 comments Opened Dec 16, 2025 by f15u Closed Dec 16, 2025

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?

When I type @ and select a file, pressing tabs most of the time it autocompletes just the path instead of the item I've selected.

I cannot even replicate the issue every time, as sometimes it works as expected.

What I've noticed is doesn't autocomplete even the full base path. After that, if I start another fuzzy search, the suggestion are less relevant.

What Should Happen?

When selecting an item from the file list using the file picker, it autocompletes fully.

Error Messages/Logs

Steps to Reproduce

  1. Type Inside @ and start a fuzzy search
  2. Press <kbd>↓</kbd> until a file is selected (eg. app/api/source/Infrastructure/Outbox/WithPostgres.ts)
  3. Press <kbd>Tab</kbd>
  4. Only app/api/source/Infrastructure/ is added

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.70 (Claude Code)

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

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