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

Resolved 💬 10 comments Opened Jan 11, 2026 by Rock0007 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 ↗

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