Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Codex Editor TabNew to Visual Studio Code? Get it now.
Codex Editor Tab

Codex Editor Tab

Mavvy's Net

|
1 install
| (0) | Free
Open a new official Codex chat in its own VS Code editor tab.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Codex Editor Tab

A small VS Code extension that opens official OpenAI Codex conversations in movable editor tabs and provides quick access to recent sessions.

Requirements

  • VS Code 1.96 or newer
  • The official OpenAI Codex extension, installed and signed in

Use

  1. On a Codex editor tab, select the history icon in the editor title bar.
  2. Choose New Codex Session at the top of the picker, or select one of the 50 most recently updated sessions to reopen it.
  3. Rename a session with the rename button on its row in the session history picker.

To open a new chat directly, run Codex Editor Tab: Open Codex in Editor Tab or press Ctrl+Alt+N (Cmd+Alt+N on macOS).

Codex editor background

The Codex editor uses VS Code's editor.background color. To give it a light gray background, add a theme-specific color customization to your VS Code settings.json:

"workbench.colorCustomizations": {
  "[Visual Studio 2017 Light - C++]": {
    "editor.background": "#f3f3f3"
  }
}

Replace the theme name with your active VS Code theme. This color also changes the background of regular code editors while that theme is active. If the Codex editor does not update immediately, run Developer: Reload Window.

Run locally

  1. Open this folder in VS Code.
  2. Press F5 to launch an Extension Development Host.
  3. In the new window, install/sign in to the official OpenAI Codex extension.
  4. Run Codex Editor Tab: Open Codex in Editor Tab.

How it works

This extension opens the custom editor contributed by the official Codex extension. It does not implement a separate chat UI or handle sign-in itself. To list and rename sessions, it launches the Codex executable bundled with the official extension and uses Codex app-server over stdio. The app-server is experimental, so this integration may need updates when Codex changes its protocol or bundled executable layout. Reopening a session uses the Codex extension's local editor route, which is also an internal integration detail. New chats use Codex's new-panel route so the official extension can initialize the conversation itself.

VS Code does not let one extension insert controls into another extension's chat webview. Therefore history and rename are editor-title actions and a selection popup, rather than a row inside the official chat UI.

This is an independent community project and is not affiliated with or endorsed by OpenAI.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft