Skip to content

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

Closed as not planned

Description

@kevisong

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.

Image

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

Activity

  1. added
    enhancement
    on Dec 28, 2025
  2. github-actions commented on Dec 28, 2025

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. added
    extension
    on Dec 28, 2025
  4. g3grau commented on Jan 2, 2026

    @g3grau

    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).

  5. etraut-openai commented on Mar 20, 2026

    @etraut-openai
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementextension

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions