You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow selecting directories in @ file search #8863
Problem: @ file search in Composer popup only shows files.
Use-Case: When working with a codebase, being able to reference an entire directory (e.g., a library, module, or package) is crucial, models are good enough to do List/Ls and then rg or Read any files they want. Also, not to mention selecting a handful of relevant files one by one takes A LOT of time.
Solution: Show directories in @ search results with a trailing "/" suffix (e.g., "src/utils/"). When selected, the directory path is inserted, allowing the agent to understand which directory the user is referencing.
Additional information
I have a working implementation ready:
Adds "/" suffix to directories in file search results
Allows selecting directories just like files
Happy to submit a PR once this enhancement is approved
Reacted by miraclebakelaser, Martin, tico Ag, Muqsit, Marginal, Alessandro, Michael Frantz, XLor, Kosumi, Rafael Pimenta and 7 more
I made a PR but it was closed by the Open AI Team ~ #8960
When working in medium to large codebases (think monorepos), being able to tag a directory dramatically reduces Codex's initial exploration time. I'm not sure why it isn't being prioritized.
Last reason I received was having the roadmap in sync across various Codex versions. But that has already diverged. Codex CLI supports neither projects nor automations. Automations are Cron jobs which OpenClaw offers in the CLI version - it makes sense. But for Codex, you have to use the Codex App which is also pretty buggy at the moment.
With that said, I understand they have more visibility into what people are asking and I'll leave them to it. It has improved quite a lot over the last couple of months so thanks to the team for putting in the hard work!
This is now implemented in the Codex CLI. Directory search and selection were added in #14970: you can type @, search for a directory, and select it to insert its path. The current picker identifies directories with a Dir label.
Thanks for the suggestion! Closing this as implemented.
Activity
RJUNS commentedon Feb 10, 2026
please fix it.
muqsitnawaz commentedon Feb 10, 2026
I made a PR but it was closed by the Open AI Team ~ #8960
When working in medium to large codebases (think monorepos), being able to tag a directory dramatically reduces Codex's initial exploration time. I'm not sure why it isn't being prioritized.
Last reason I received was having the roadmap in sync across various Codex versions. But that has already diverged. Codex CLI supports neither projects nor automations. Automations are Cron jobs which OpenClaw offers in the CLI version - it makes sense. But for Codex, you have to use the Codex App which is also pretty buggy at the moment.
With that said, I understand they have more visibility into what people are asking and I'll leave them to it. It has improved quite a lot over the last couple of months so thanks to the team for putting in the hard work!
etraut-openai commentedon Oct 14, 2026
(response from codex)
This is now implemented in the Codex CLI. Directory search and selection were added in #14970: you can type
@, search for a directory, and select it to insert its path. The current picker identifies directories with aDirlabel.Thanks for the suggestion! Closing this as implemented.