FR: Only show Filenames instead of full path #1414

Closed
opened 2026-02-16 17:30:52 -05:00 by yindo · 3 comments
Owner

Originally created by @Askath on GitHub (Aug 21, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Hello,

Currently, when searching for a file to add to the context, filenames are barely visible due to long path names. Please consider displaying only the filename with a shortened path, making it easier for users to find the file they are looking for.

Example of the issue:
The filename is not visible at all because the full path obscures it.

Image
Originally created by @Askath on GitHub (Aug 21, 2025). Originally assigned to: @adamdotdevin on GitHub. Hello, Currently, when searching for a file to add to the context, filenames are barely visible due to long path names. Please consider displaying only the filename with a shortened path, making it easier for users to find the file they are looking for. Example of the issue: The filename is not visible at all because the full path obscures it. <img width="926" height="274" alt="Image" src="https://github.com/user-attachments/assets/42d5547d-6b18-4672-ba40-e91bdca86020" />
yindo closed this issue 2026-02-16 17:30:52 -05:00
Author
Owner

@arnaldur-zeronorth commented on GitHub (Sep 1, 2025):

Alternatively, the the path can be right aligned so you only see the rightmost part of the file path. This would likely solve this issue for a majority of cases.

@arnaldur-zeronorth commented on GitHub (Sep 1, 2025): Alternatively, the the path can be right aligned so you only see the rightmost part of the file path. This would likely solve this issue for a majority of cases.
Author
Owner

@Askath commented on GitHub (Sep 1, 2025):

Alternatively, the the path can be right aligned so you only see the rightmost part of the file path. This would likely solve this issue for a majority of cases.

Yes that would also be enough and might help with identical filenames in different Folders.
Depending on what is easier to implement

@Askath commented on GitHub (Sep 1, 2025): > Alternatively, the the path can be right aligned so you only see the rightmost part of the file path. This would likely solve this issue for a majority of cases. Yes that would also be enough and might help with identical filenames in different Folders. Depending on what is easier to implement
Author
Owner

@rekram1-node commented on GitHub (Dec 27, 2025):

[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

@rekram1-node commented on GitHub (Dec 27, 2025): [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1414