Skip to content

Add folders in @ search #18297

Open
Open

Description

@DiamondNectar

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.

Activity

  1. added
    app
    on Apr 17, 2026
  2. added
    bug
    on Apr 17, 2026
  3. added
    enhancement
    and removed
    bug
    on Apr 17, 2026
  4. changed the title [-]Missing folders in @ search, inability to attach folders, and incorrect sorting in file preview[/-] [+]Add folders in @ search[/+] on Apr 17, 2026
  5. etraut-openai commented on Apr 17, 2026

    @etraut-openai
    Contributor

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

  6. chnln commented on Apr 18, 2026

    @chnln

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

  7. JoeGou commented on Apr 19, 2026

    @JoeGou

    I cannot mention folder too after updating.
    version : 26.415

  8. jeevanpillay commented on Apr 19, 2026

    @jeevanpillay

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

  9. saynain commented on Apr 21, 2026

    @saynain

    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?

  10. parsadotsh commented on Apr 22, 2026

    @parsadotsh

    Yes after an update it doesn't work anymore.

  11. orangepropeller commented on Apr 23, 2026

    @orangepropeller

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

  12. huangruiteng commented on Apr 27, 2026

    @huangruiteng

    +1

  13. parsadotsh commented on May 2, 2026

    @parsadotsh

    Seems to be fixed :) thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions