VS Code: removing IDE Context persists, but UI provides no discoverable way to re-enable it
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What variant of Codex are you using?
VS Code IDE extension
Extension version
26.820.60940
Issue
The IDE context chip in the Codex composer has an X. Clicking the X appears to disable IDE Context persistently, rather than merely removing it from the current prompt/thread.
After doing this, there is no discoverable way in the normal composer UI to turn IDE Context back on. In particular, the + menu does not contain an IDE Context option, and the extension settings UI does not expose an obvious control for it.
The feature can be restored by typing /ide in the composer and selecting IDE context — Include current selection, open files, and other context, but this recovery path is effectively hidden unless the user already knows the slash command exists.
This caused the extension to silently stop sending the current editor selection and active file. It initially looked like the IDE-context feature was broken: with text visibly selected in VS Code, asking Codex what was selected returned that both selected text and the currently viewed file were unavailable. After /ide was used to re-enable IDE Context, automatic editor context worked again.
Steps to reproduce
- Start with IDE Context enabled in the VS Code Codex composer.
- Click the
Xon the IDE Context chip. - Send prompts and/or start another conversation.
- Observe that IDE Context remains disabled; active file and selected text are no longer automatically included.
- Open the composer
+menu and extension settings and try to find a way to restore IDE Context. - Type
/ideand selectIDE context. - Observe that IDE Context is restored and active-file/selection context works again.
Expected behavior
At least one of the following would make the behavior clear and recoverable:
- Clicking
Xshould remove IDE Context only for the current prompt, if that is what anXnormally implies; or - If clicking
Xintentionally disables the feature persistently, the UI should make that clear and provide a visible way to re-enable it (for example in the+menu and/or Codex settings); or - The removal action could offer an immediate Undo / explanation that IDE Context has been disabled and can be restored with
/ide.
A persistent preference change should not be represented solely as dismissing a chip when the inverse action is hidden behind an undiscoverable slash command.
Actual behavior
Clicking X silently creates a persistent disabled state. The normal UI provides no apparent inverse control, making it easy to conclude that automatic IDE context is malfunctioning or has been removed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the IDE Context chip's X behavior in the VS Code composer, then compare the + menu, extension settings, and /ide command. Trace the entry points for disabling and re-enabling IDE Context; done when the removal behavior is clear and users have a visible, recoverable way to restore editor context.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- developer-experience, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100