ide/commands.md +1 −9
1# Codex IDE extension commands1# Codex IDE extension commands
2 2
3Reference for Codex IDE extension commands and keyboard shortcuts
4
5Use these commands to control Codex from the VS Code Command Palette. You can also bind them to keyboard shortcuts.3Use these commands to control Codex from the VS Code Command Palette. You can also bind them to keyboard shortcuts.
6 4
7## Assign a key binding5## Assign a key binding
19| ------------------------- | ------------------------------------------ | --------------------------------------------------------- |17| ------------------------- | ------------------------------------------ | --------------------------------------------------------- |
20| `chatgpt.addToThread` | - | Add selected text range as context for the current thread |18| `chatgpt.addToThread` | - | Add selected text range as context for the current thread |
21| `chatgpt.addFileToThread` | - | Add the entire file as context for the current thread |19| `chatgpt.addFileToThread` | - | Add the entire file as context for the current thread |
2220| `chatgpt.newChat` | macOS: `Cmd+N` Windows/Linux: `Ctrl+N` | Create a new thread || `chatgpt.newChat` | macOS: `Cmd+N`<br/>Windows/Linux: `Ctrl+N` | Create a new thread |
23| `chatgpt.implementTodo` | - | Ask Codex to address the selected TODO comment |21| `chatgpt.implementTodo` | - | Ask Codex to address the selected TODO comment |
24| `chatgpt.newCodexPanel` | - | Create a new Codex panel |22| `chatgpt.newCodexPanel` | - | Create a new Codex panel |
25| `chatgpt.openSidebar` | - | Opens the Codex sidebar panel |23| `chatgpt.openSidebar` | - | Opens the Codex sidebar panel |
26
27[Previous
28
29Settings](https://developers.openai.com/codex/ide/settings)[Next
30
31Slash commands](https://developers.openai.com/codex/ide/slash-commands)