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

Status Closed — not planned
Maintainer reply None cached
Activity 6 comments · opened Sep 16, 2025 · 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 ↗

6 Comments

github-actions[bot] · 10 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

f15u · 10 months ago

If possible remove the platform:windows; the same happens on Linux.

I opened #14184 with different keywords, but the problems is exactly the same.

vini2003 · 10 months ago

This is very annoying and still happens.

github-actions[bot] · 8 months ago

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

marcindulak · 8 months ago

This issue was closed incorrectly despite recent human comments. This behavior of the bot is reported at https://github.com/anthropics/claude-code/issues/16497. Please upvote that issue, so maybe it gets noticed.

github-actions[bot] · 8 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.