Cannot add files as context

Open 💬 7 comments Opened Nov 19, 2025 by Alonpenker
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the VS Code extension are you using?

0.4.43

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Microsoft Windows NT 10.0.22000.0 x64

What issue are you seeing?

The codex chat seems to not able to search for files at all, I press on "Add Context", try searching for files but nothing shows up. Tried log out-log in, restarting vs code and codex extension, restarting the workspace, nothing solved it. It did worked 2 days ago, so it is a very new issue.

<img width="771" height="292" alt="Image" src="https://github.com/user-attachments/assets/82aa31ab-2ca6-4a0e-8d2d-19238291979f" />

What steps can reproduce the bug?

No special reason.

What is the expected behavior?

Showing up files that matching the search query.

Additional information

_No response_

View original on GitHub ↗

7 Comments

github-actions[bot] contributor · 8 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #5323

Powered by Codex Action

etraut-openai contributor · 8 months ago

Does https://github.com/openai/codex/issues/2952 explain the behavior you're seeing?

LikeAPhoenix · 8 months ago

<img width="708" height="445" alt="Image" src="https://github.com/user-attachments/assets/bb0be282-a7a3-4a5b-ac72-969f48140e2f" />
I have the same problem.

Alonpenker · 8 months ago
Does #2952 explain the behavior you're seeing?

No, until recently I could add files directly using the + button near the Auto context button, but since the update, it is not possible.

etraut-openai contributor · 8 months ago

Do you see the same problem if you use @ to reference a file?

It's possible that the file search is taking a long time. For example, if you have a very large project or you're using a very slow disk (e.g. a network volume).

I'm not able to repro the problem you're seeing. I wonder if it's something specific to your project. Could you try with a different project / workspace to see if you're seeing the same problem there?

Alonpenker · 7 months ago
Do you see the same problem if you use @ to reference a file? It's possible that the file search is taking a long time. For example, if you have a very large project or you're using a very slow disk (e.g. a network volume). I'm not able to repro the problem you're seeing. I wonder if it's something specific to your project. Could you try with a different project / workspace to see if you're seeing the same problem there?

Thank you for responding. I tried this from another and much smaller project, still get the same issue. When I try and search using the @, I can find files immediately with no problem.

etraut-openai contributor · 4 months ago

@Alonpenker, are you still seeing this problem?