Show full file paths when manually adding context to avoid ambiguity between files with the same name

Resolved 💬 3 comments Opened Dec 28, 2025 by kevisong Closed Mar 20, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What feature would you like to see?

Problem

When manually adding context, files are listed by filename only (with a truncated path), and the full file path is not visible.

In deeply nested directories, it’s common to have multiple files with the same name (e.g. handler.go). Because the full path is hidden or truncated, it’s impossible to tell which file is which.

As a result, users cannot confidently determine which file they are adding, and may easily select the wrong one.

<img width="1332" height="483" alt="Image" src="https://github.com/user-attachments/assets/70c9c0f0-6870-4e92-83cb-5c3e7acbd247" />

Expected Behavior

When manually adding context, the UI should display the full file path (or at least enough of it) so that files with identical names can be clearly distinguished, even in deeply nested directory structures.

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 8 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #8543

Powered by Codex Action

g3grau · 7 months ago

I also have this problem when adding logs for inspection. What makes things worse, clicking on the + for adding context initially shows a cached file index, making it more likely to select wrong files and not seeing the recent files at all.
I usually delete/re-edit the file name to trigger a refresh.
There may be good reasons for having this file cache, but I don't see the benefit compared to a simple file dialog (with potential multi-selection capability).

etraut-openai contributor · 5 months ago

This feature request hasn't received enough upvotes, so I'm going to close it.