Codex VS Code extension stopped auto-including IDE context after update
Resolved 💬 17 comments Opened Jul 8, 2026 by ps-bobbykotzev Closed Aug 13, 2026
💡 Likely answer: A maintainer (gpeal, contributor)
responded on this thread — see the highlighted reply below.
What version of the IDE extension are you using?
26.623.141536
What subscription do you have?
Pro
Which IDE are you using?
VS Code remote/container (.vscode-server)
What platform is your computer?
Windows 11, Docker
What issue are you seeing?
Date observed: July 8, 2026
Previously working: July 7, 2026
Behavior before: prompts automatically included open file and selected text
Behavior now: open file and highlighted selection are no longer referenced unless manually added
What steps can reproduce the bug?
Select text in an open file in the IDE and prompt agent "What text have I selected?"
What is the expected behavior?
Codex IDE extension should automatically include open files and selected text, per docs
Additional information
- Explicit commands still exist: Add to Codex Thread / Add File to Codex Thread
- No documented setting found to disable automatic IDE context
- Shared config had model pinned to gpt-5.4
17 Comments
Just noticed this in VS Code extension. I hope this wasn't removed, useful for workflow.
I also have this problem.
yeah, currently
/idedoesn't do anything. an update bugged the extension or something.I just noticed there is a context menu option
Add to Codex Threadthat creates a reference to open tab content, so that might be helpful as an alternative.I'm facing the same problem. So far I've tried:
/ide→ no responseThis seems to be a session or context initialization issue rather than a missing installation.
Environment:
I have the same issue, my environment is Ubuntu 20.04 with 1.129.1 vs code and 26.715.61943 codex extension. Besides, do you misinput your extension version? With extra "5" for 26.715.
You are right, I have fixed the misinput. Thanks for the reminder.
Guys, this seems to be a bug in the latest version of codex extension. I manually installed version 26.5707.91948, and that fixed the issue.
nah.
I'm on version
26.721.41059, which I'm guessing is greater than yours./idemakes the IDE context briefly appear, then disappear forever again.Hi @gpeal — sorry to ping you directly about this. You’re one of the most knowledgeable people I know when it comes to the Codex VS Code extension. Your video from October 2025 was actually what introduced me to Codex.
The
/ide-contextcommand has stopped working since the launch of GPT-5.6 Sol. I’d really appreciate it if you could take a look, as the issue has persisted for more than two weeks. Losing/ide-contexthas become a major blocker in many users’ workflows, and several related issues have already been reported. https://github.com/openai/codex/issues/34696 https://github.com/openai/codex/issues/35419 https://github.com/openai/codex/issues/34920 https://github.com/openai/codex/issues/35333 https://github.com/openai/codex/issues/33978 (There used to be a long-running issue thread about this, but it seems to have disappeared for some reason.)Thanks again for all your work on it!
This will be fixed in the next release. Sorry for the regression here.
this is happening to us too.
Still unable for IDE context function. Codex plugin version: 26.727.40816. System version: Ubuntu 20.04.
@gpeal
/ideworked again, briefly... and then on the extension / VS Code update,/idestopped working, again.This seems to be working again for me on version
26.803.41515Seems to be fixed.
Hi folks, thanks for the reports and your patience. Happy to report that this issue should be resolved in the Codex IDE extension as of:
If the issue persists after updating to one of these versions or a newer version, please comment with your extension version, editor, and operating system and we can investigate further.