Add folders in @ search

Open 💬 9 comments Opened Apr 17, 2026 by DiamondNectar
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

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

26.415

What subscription do you have?

Pro

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What issue are you seeing?

There are several related issues affecting file navigation and usability:

  1. Folders missing in @ search

When using the @ feature to search and reference files, folders are not shown in the results.
This makes it difficult to navigate project structure or reference entire directories.

  1. Unable to attach folders

It is currently not possible to attach a folder to the chat (e.g., via right-click like with files).
Only individual files can be attached.

This limits workflows where a whole directory context is needed.

  1. Incorrect sorting in file preview (All files)

In the file preview (All files view), items are sorted purely alphabetically without separating folders and files.

This results in a mixed list like:

a_file.py
b_folder/
c_file.py
d_folder/

Instead of the expected and standard OS behavior:

b_folder/
d_folder/
a_file.py
c_file.py

The current behavior makes navigation harder and visually confusing, especially in large directories.

What steps can reproduce the bug?

Folders missing in @ search

  • Open Codex App
  • Open any project with a nested folder structure
  • In chat, type @ to reference files
  • Start typing a folder name

Result: folders do not appear in search results

Unable to attach folders

  • Open Codex App
  • Open any project
  • Right-click on a folder in the file tree (or try to attach it via chat input)

Result: there is no option to attach a folder (only files can be attached)

Incorrect sorting in file preview
Open Codex App
Open a project with both files and folders in the same directory
Go to file preview / “All files” view

Result: files and folders are mixed together and sorted alphabetically as a single list, instead of grouping folders first

What is the expected behavior?

  • @ search should include folders in results
  • Ability to attach folders to chat (similar to files)
  • File preview should follow standard sorting:
  • Folders first (alphabetically)
  • Files second (alphabetically)

Additional information

These issues together significantly impact navigation and workflow efficiency when working inside Codex App without switching to an IDE.

Improving these areas would make the app much closer to being a полноценная IDE replacement.

View original on GitHub ↗

9 Comments

etraut-openai contributor · 3 months ago

Thanks for the feedback, but please submit one issue per feature request.

chnln · 3 months ago

I also found I cannot mention folders in Codex App today after updating. I am sure yesterday I could ...

JoeGou · 3 months ago

I cannot mention folder too after updating.
version : 26.415

jeevanpillay · 3 months ago

would love this feature. it's a struggle rn.

saynain · 3 months ago

This was possible in previous versions of Codex Desktop App, but as of recently it is not possible to mention folders anymore. Not sure why this feature got taken away?

parsadotsh · 2 months ago

Yes after an update it doesn't work anymore.

orangepropeller · 2 months ago

Also found this issue. Is it an intended feature or a bug?

huangruiteng · 2 months ago

+1

parsadotsh · 2 months ago

Seems to be fixed :) thanks