Using @ to select a path isn't working if the entered text is not the last part of the path

Resolved 💬 1 comment Opened Sep 25, 2025 by maxiedaniels Closed Oct 6, 2025

What version of Codex is running?

0.5.14 (VSCode Extension)

Which model were you using?

Any model

What platform is your computer?

Mac Sonoma

What steps can reproduce the bug?

Say you have a Next.js file, located at /app/api/myname/route.ts. Normally you could type @myname and it would show completions including the /app/api/myname/route.ts. This suddenly isn't happening - the only way to get that path is to type @route.ts which is annoying since it's an ambiguous filename for next.js projects.

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗