[BUG] Inconsistent tab completion behavior in Claude Code (Windows, Git Bash)

Resolved 💬 6 comments Opened Sep 16, 2025 by mathiaswillburger Closed Jan 18, 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?

When using Claude Code for path completions, the TAB key does not behave consistently and sometimes autocompletes the full path, while other times it only completes up to the last path node.

Important
This issue is not related to problems with spaces in folder or file names. It is different from and unrelated to the issues already tracked in #6154, #1934, #4741, or #4632.

What Should Happen?

Expected behavior

TAB should always complete the selected entry fully - regardless of whether it is partially completed or not. This would make the behavior consistent and predictable.

Actual behavior

  • For some entries, pressing TAB only completes up to the latest path node.
  • For others, pressing TAB completes the entire path as expected.
  • Pressing ENTER on a not-fully-completed entry always completes the full path, but this behavior is inconsistent with TAB.
  • The issue does not occur on all entries, and there is no clear or predictable pattern to when it happens.

Environment

  • Windows
  • Git Bash
  • Claude Code 1.0.115

Impact

The inconsistent behavior is confusing. Users would reasonably expect TAB to always complete the selected suggestion fully, without needing to use ENTER for some cases.

Request

Make TAB completion consistent across all entries so it always inserts the full selected entry (either path or file, depending on selection).

Error Messages/Logs

Steps to Reproduce

  1. Type @authservice
  2. A list of suggested entries is shown
  3. Press TAB
  • Only api\app\Services\ is inserted (not the full path api\app\Services\AuthService.php)
  1. Type @dashboard
  2. Select an entry from the list
  3. Press TAB
  • The full path is inserted correctly: @frontend\src\features\dashboard\types\DashboardTypes.ts

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

1.0.115

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

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