codex - 💡(How to fix) Fix mprove File Reference Interaction (Clickable/Open File or Folder) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17136Fetched 2026-04-09 08:02:01
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×4closed ×1commented ×1
RAW_BUFFERClick to expand / collapse

What variant of Codex are you using?

App, CLI

What feature would you like to see?

When Codex provides answers that include file paths or references to files, I would like a more interactive and user-friendly way to access those files directly.

Currently, when Codex mentions a file (especially with deep directory paths), I have to manually navigate through the file system to locate it, which is inefficient and sometimes difficult.

I suggest the following improvements:

  1. Clickable File Paths
    • File paths mentioned in Codex responses should be clickable.
    • Clicking should directly open the file in the system or relevant editor.
  2. Right-Click Context Menu
    • Allow users to right-click on file references to:
      • Open the file
      • Open the containing folder
      • Copy the file path
  3. Better Handling of Deep Paths
    • For deeply nested directories, provide quick access actions to avoid manual searching.

Additional information

This feature would be especially helpful when:

  • Codex generates or references files during code generation or refactoring
  • Working with large backend projects (e.g., Java/Spring Boot) where directory depth is high

extent analysis

TL;DR

Implementing clickable file paths and a right-click context menu can improve user experience when accessing files referenced by Codex.

Guidance

  • Identify the components responsible for rendering Codex responses and file path handling to determine the best approach for making file paths clickable.
  • Consider using existing libraries or frameworks for handling file system interactions, such as opening files or folders, to simplify implementation.
  • Develop a context menu that can be triggered by right-clicking on file references, providing options to open the file, open the containing folder, or copy the file path.
  • For deeply nested directories, design quick access actions, such as a "Go to folder" button or a breadcrumb navigation, to facilitate easier file location.

Example

// Pseudo-code example of a clickable file path
<a href="file:///path/to/file" target="_blank">path/to/file</a>

Note: This example assumes a web-based interface and may need to be adapted for other environments.

Notes

The implementation details may vary depending on the specific technology stack and environment in which Codex is deployed. Additionally, security considerations should be taken into account when allowing users to interact with the file system.

Recommendation

Apply a workaround by implementing clickable file paths and a right-click context menu, as this can provide an immediate improvement to the user experience without requiring significant changes to the underlying system.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING