[BUG] File path suggestions are truncated with ... in Claude Code autocomplete even when sufficient screen space is available
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:
- Display the full file path or full file name in the autocomplete list whenever sufficient terminal width is available, OR
- 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
- Open a project with long and deeply nested folder/file paths.
- Launch Claude Code in any terminal (cmd, PowerShell, Windows Terminal, or WSL).
- Type
@followed by a partial folder or file name (for example:@users). - 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" />
10 Comments
This BUG is also visible within MacOS.
Same here. Macos. Tried multiple terminals
Same here, I tried in linux
Same here, MacOs (iTerm)
Same here, MacOS > Ghostty > Tmux.
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.
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" />
@indieTrav @kt3 @dkampien @michaelsheka https://github.com/anthropics/claude-code/issues/17443#issuecomment-3742481275
+1
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.