SpyBara
Go Premium

ide/commands.md 2026-05-18 22:01 UTC to 2026-05-19 18:43 UTC

3 added, 3 removed.

2026
Sat 30 07:08 Fri 29 18:58 Thu 28 18:58 Wed 27 00:57 Tue 26 18:54 Sat 23 00:54 Fri 22 18:42 Thu 21 18:44 Wed 20 00:58 Tue 19 18:43 Mon 18 22:01 Thu 14 21:00 Wed 13 00:57 Tue 12 01:59 Mon 11 18:00 Thu 7 20:02 Tue 5 23:00 Sat 2 06:45 Fri 1 18:29

Commands – Codex IDE

Use these commands to control Codex from the VS Code Command Palette. You can also bind them to keyboard shortcuts.

Assign a key binding

To assign or change a key binding for a Codex command:

  1. Open the Command Palette (Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows/Linux).
  2. Run Preferences: Open Keyboard Shortcuts.
  3. Search for Codex or the command ID (for example, chatgpt.newChat).
  4. Select the pencil icon, then enter the shortcut you want.

Extension commands

Command Default key binding Description
chatgpt.addToThread - Add selected text range as context for the current thread
chatgpt.addFileToThread - Add the entire file as context for the current thread
chatgpt.newChat macOS: Cmd+N Windows/Linux: Ctrl+N Create a new thread
chatgpt.implementTodo - Ask Codex to address the selected TODO comment
chatgpt.newCodexPanel - Create a new Codex panel
chatgpt.openSidebar - Opens the Codex sidebar panel