Add ability to open Codex chat in new window in VS Code

Resolved 💬 19 comments Opened Sep 5, 2025 by vobrechkov Closed Jan 14, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What feature would you like to see?

As a Codex user I want to be able to open Codex chat in a new VS Code window so that I can have Codex on one display and VS Code editor on another

Are you interested in implementing this feature?

Don't have the experience with VS Cdoe extension authoring

Additional information

_No response_

View original on GitHub ↗

19 Comments

laubonghaudoi · 10 months ago

I need this badly, open Codex as a new tab. Not only in VSCode but in Cursor as well.

WhiteyDude · 9 months ago

As a reference point, RooCode implements this with an "Open in editor" option, that turns the extension page into a tab, which can be put on any window:

https://github.com/RooCodeInc/Roo-Code/issues/4199

ZachZimm · 9 months ago

This has been a very useful feature of GitHub copilot for quite a while and would greatly improve the UX of Codex in my view.

YBCS · 9 months ago

Hi may I work on this ? @WhiteyDude

eusoubrasileiro · 9 months ago

I really want this!!! PLEASE!!!

JinuAugustine98 · 8 months ago

Adding to the pleases +1

icecactus · 8 months ago

+1

rambod-rahmani · 8 months ago

Adding to the pleases +1

jacksonlmr · 8 months ago

+1

josiaheakle · 8 months ago

+1

Edit: If you want a temporary solution, just make a new VS code window and use the "Add folder to workspace" command to open your repository. Doing this opens a second VS code window in the same repository (instead of just focusing the existing vscode window where your repo is already opened) and allows you to use codex.

velen-lqc · 7 months ago

+1

dusrdev · 7 months ago

People, please stop with the +1's, just react to the original comment if you want to join. And you can subscribe to see notifications via the button in the sidebar.

+1's just keep sending everyone worthless emails when they are expecting real updates.

MassimoWT · 7 months ago

+1

etraut-openai contributor · 6 months ago

With recent versions of the Codex IDE Extension, you can use the "Codex: New Codex Agent" command from the command palette. This creates a new Codex instance in a window (as opposed to a side bar) that you can then drag out of the VS Code Workspace window.

vobrechkov · 6 months ago
With recent versions of the Codex IDE Extension, you can use the "Codex: New Codex Agent" command from the command palette. This creates a new Codex instance in a window (as opposed to a side bar) that you can then drag out of the VS Code Workspace window.

That is a good workaround and gets me > 90% there. Still value in being able to drag the current session into a new window this works for everything else. Wish VS Code had better windowing/docking/undocking functionality.

LukasWillin · 2 months ago
With recent versions of the Codex IDE Extension, you can use the "Codex: New Codex Agent" command from the command palette. This creates a new Codex instance in a window (as opposed to a side bar) that you can then drag out of the VS Code Workspace window.

Is this still supposed to work? For me it opens an empty tab.
<img width="705" height="552" alt="Image" src="https://github.com/user-attachments/assets/e99ca30d-593c-468b-84bc-b5a9cbbbc350" />

config.toml (redacted)
model = "gpt-5.3-codex"
model_provider = "azure"
approval_policy = "on-request"
model_reasoning_effort = "high"
personality = "pragmatic"

[model_providers.azure]
name = "Azure OpenAI"
base_url = "<Azure Foundry Endpoint>"
env_key = "<Azure Foundry Key>"
wire_api = "responses"

[windows]
sandbox = "elevated"
akaready · 2 months ago

Yea, but it's only one tab at a time, which makes it pointless. This one missing thing makes Claude Code's extension 1,000x more valuable.

atlamors · 2 months ago
cmsong-shina · 2 months ago

Same as LukasWillin. I got just empty window.