codex - 💡(How to fix) Fix @ file reference suggestions do not appear for files with long paths

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…
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

26.519.81530 (build 3178)

What subscription do you have?

ChatGPT Plus

What platform is your computer?

25.4.0 arm64 arm

What issue are you seeing?

When using @ to reference a file in Codex, file suggestions stop appearing if the file path is too long.

<img width="1590" height="360" alt="Image" src="https://github.com/user-attachments/assets/b5818473-f9e7-46c6-9dd9-7dede7f3079d" /> <img width="1516" height="180" alt="Image" src="https://github.com/user-attachments/assets/93a7207a-b5b6-4ad8-845c-417e9bfd4e68" />

What steps can reproduce the bug?

  1. Open Codex App.
  2. Work in a project or folder that contains files under a long nested path.
  3. In the prompt box, type @ and start typing the file name or path.
  4. Observe that no file suggestion appears for the file with the long path.

What is the expected behavior?

No suggestion appears, so the file cannot be selected through the @ reference UI.

Additional information

Shorter paths appear to work normally. The issue seems related to path length rather than the file itself.

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

codex - 💡(How to fix) Fix @ file reference suggestions do not appear for files with long paths