[BUG] File path suggestions are truncated with ... in Claude Code autocomplete even when sufficient screen space is available

Status Fixed / completed
Reported on v2.1.3
Maintainer reply None cached
Activity 10 comments · opened Jan 11, 2026 · closed Jan 13, 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 the @ file reference autocomplete in Claude Code, long file paths are truncated with ..., making it difficult to distinguish between similar files and folders.

This happens consistently in:

  • Windows Command Prompt (cmd.exe)
  • PowerShell
  • Windows Terminal

Even after maximizing the terminal window, increasing the pane size, and reducing font size, the autocomplete list still truncates paths instead of showing the full file names.

For projects with deeply nested folder structures or similar filenames, this significantly reduces usability and increases the chance of selecting the wrong file.

Example:

src/features/user-settings/routes/userSetti...
src/features/user-settings/routes/userSetti...

Both entries become indistinguishable.

What Should Happen?

Claude Code should:

  1. Display the full file path or full file name in the autocomplete list whenever sufficient terminal width is available, OR
  2. Provide an option to:
  • disable truncation, or
  • show the full path on selection / in a preview panel, or
  • horizontally scroll long entries.

This would allow users to clearly differentiate between similar files and improve developer productivity, especially in large codebases.

Error Messages/Logs

Steps to Reproduce

  1. Open a project with long and deeply nested folder/file paths.
  2. Launch Claude Code in any terminal (cmd, PowerShell, Windows Terminal, or WSL).
  3. Type @ followed by a partial folder or file name (for example: @users).
  4. Observe the autocomplete suggestions.

Result:
Long file paths are truncated with ....

Expected:
Full paths or full file names should be visible or accessible.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.3

Claude Code Version

2.1.4

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal
Powershell
Linux Terminals
Mac Os Terminals

Additional Information

<img width="1472" height="516" alt="Image" src="https://github.com/user-attachments/assets/9f7245ec-73aa-4f8d-aaf9-4c5bdfef3399" />

View original on GitHub ↗

10 Comments

KaleBBuR · 7 months ago

This BUG is also visible within MacOS.

dkampien · 7 months ago

Same here. Macos. Tried multiple terminals

michael-shaked · 7 months ago

Same here, I tried in linux

kt3 · 7 months ago

Same here, MacOs (iTerm)

indieTrav · 7 months ago

Same here, MacOS > Ghostty > Tmux.

xissy · 7 months ago

Same on MacOS > Warp > Splitted Panes here.

I've been pushing through this for the last few days, but this truncation is becoming a real friction point. As a developer, I hate to complain, but as a user paying $200/month, I'd really love to see this fixed for better usability. Always rooting for you folks.

xissy · 7 months ago

This seems to be fixed in v2.1.6.
<img width="475" height="205" alt="Image" src="https://github.com/user-attachments/assets/60ed9801-0172-49d8-a5ee-b2293c218b72" />

Rock0007 · 7 months ago
burtonrhodes · 7 months ago

+1

github-actions[bot] · 7 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.