Add tab file name expansion (and file browsing) to @autocomplete
Resolved 💬 3 comments Opened Nov 17, 2025 by mrx3000 Closed Jan 14, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What feature would you like to see?
- Add tab name expansion mode to
@autocomplete. In the tab expansion mode, rather than globally searching for all matching files in cwd, paths are expanded (similar to shell path expansion) - The file search popup in this mode displays matching results (effectively directory listing or subset) and supports drill-down when pressing Enter on a directory name
- The mode is complementary to the default
@querysearch, and is entered upon the first tab press once in the@mode (whether there is a query or not)
Are you interested in implementing this feature?
Yes, have proof of concept branch that works.
Additional information
Need to standardize behavior of paths with spaces (which, generally, cannot be part of the existing global @query but can be created through expansion - WIP)
The branch with the feature can be seen/tested here: https://github.com/mrx3000/codex/tree/file_search_tab_expansion
3 Comments
Is there a process to tag someone to review and indicate interest/lack thereof?
I see a few thumbs-up - promising.
Should someone create an issue, perhaps?
On my end, I will work on the space handling - and then it should be done.
This feature request has received only a couple of upvotes in two months, so I'm going to close it.