ide.md +88 −15
4 4
5ChatGPT Plus, Pro, Business, Edu, and Enterprise plans include Codex. Learn more about [what's included](https://developers.openai.com/codex/pricing).5ChatGPT Plus, Pro, Business, Edu, and Enterprise plans include Codex. Learn more about [what's included](https://developers.openai.com/codex/pricing).
6 6
7<YouTubeEmbed
8 title="Codex IDE extension overview"
9 videoId="sd21Igx4HtA"
10 class="max-w-md"
11/>
12<br />
13
7## Extension setup14## Extension setup
8 15
9The Codex IDE extension works with VS Code forks like Cursor and Windsurf.16The Codex IDE extension works with VS Code forks like Cursor and Windsurf.
19Codex IDE integrations for VS Code-compatible editors and JetBrains IDEs are26Codex IDE integrations for VS Code-compatible editors and JetBrains IDEs are
20 available on macOS, Windows, and Linux. On Windows, run Codex natively with27 available on macOS, Windows, and Linux. On Windows, run Codex natively with
21 the Windows sandbox, or use WSL2 when you need a Linux-native environment. For28 the Windows sandbox, or use WSL2 when you need a Linux-native environment. For
2229setup details, see the [Windows setup guide](https://developers.openai.com/codex/windows). setup details, see the <a href="/codex/windows">Windows setup guide</a>.
23 30
24After you install it, you'll find Codex in your editor sidebar.31After you install it, you'll find Codex in your editor sidebar.
25In VS Code, Codex opens in the right sidebar by default.32In VS Code, Codex opens in the right sidebar by default.
27 34
28If you're using Cursor, the activity bar displays horizontally by default. Collapsed items can hide Codex, so you can pin it and reorganize the order of the extensions.35If you're using Cursor, the activity bar displays horizontally by default. Collapsed items can hide Codex, so you can pin it and reorganize the order of the extensions.
29 36
3037<div class="not-prose max-w-56 mr-auto">
38 <img src="https://cdn.openai.com/devhub/docs/codex-extension.webp"
39 alt="Codex extension"
40 class="block h-auto w-full mx-0!"
41 />
42</div>
31 43
32## JetBrains IDE integration44## JetBrains IDE integration
33 45
34If you want to use Codex in JetBrains IDEs like Rider, IntelliJ, PyCharm, or WebStorm, install the JetBrains IDE integration. It supports signing in with ChatGPT, an API key, or a JetBrains AI subscription.46If you want to use Codex in JetBrains IDEs like Rider, IntelliJ, PyCharm, or WebStorm, install the JetBrains IDE integration. It supports signing in with ChatGPT, an API key, or a JetBrains AI subscription.
35 47
3648[Install Codex for JetBrains IDEs](https://blog.jetbrains.com/ai/2026/01/codex-in-jetbrains-ides/)<CtaPillLink
49 href="https://blog.jetbrains.com/ai/2026/01/codex-in-jetbrains-ides/"
50 label="Install Codex for JetBrains IDEs"
51 class="mt-6"
52/>
37 53
3854### Move Codex to the right sidebar### Move Codex to the right sidebar <a id="right-sidebar"></a>
39 55
40In VS Code, Codex appears in the right sidebar automatically.56In VS Code, Codex appears in the right sidebar automatically.
41If you prefer it in the primary (left) sidebar, drag the Codex icon back to the left activity bar.57If you prefer it in the primary (left) sidebar, drag the Codex icon back to the left activity bar.
75 91
76## Work with the Codex IDE extension92## Work with the Codex IDE extension
77 93
7894[### Prompt with editor context<BentoContainer>
95 <BentoContent href="/codex/ide/features#prompting-codex">
96
97### Prompt with editor context
98
99Use open files, selections, and `@file` references to get more relevant results with shorter prompts.
100
101 </BentoContent>
102 <BentoContent href="/codex/ide/features#switch-between-models">
103
104### Switch models
105
106Use the default model or switch to other models to leverage their respective strengths.
107
108 </BentoContent>
109 <BentoContent href="/codex/ide/features#adjust-reasoning-effort">
110
111### Adjust reasoning effort
112
113Choose `low`, `medium`, or `high` to trade off speed and depth based on the task.
114
115 </BentoContent>
116
117 <BentoContent href="/codex/ide/features#image-generation">
118
119### Image generation
120
121Generate or edit images without leaving your editor, and use reference assets when you need iteration.
122
123 </BentoContent>
124
125 <BentoContent href="/codex/ide/features#choose-an-approval-mode">
126
127### Choose an approval mode
128
129Switch between `Chat`, `Agent`, and `Agent (Full Access)` depending on how much autonomy you want Codex to have.
130
131 </BentoContent>
132
133 <BentoContent href="/codex/ide/features#cloud-delegation">
134
135### Delegate to the cloud
136
137Offload longer jobs to a cloud environment, then monitor progress and review results without leaving your IDE.
138
139 </BentoContent>
140
141 <BentoContent href="/codex/ide/features#cloud-task-follow-up">
142
143### Follow up on cloud work
144
145Preview cloud changes, ask for follow-ups, and apply the resulting diffs locally to test and finish.
146
147 </BentoContent>
148
149 <BentoContent href="/codex/ide/commands">
79 150
80151Use open files, selections, and `@file` references to get more relevant results with shorter prompts.](https://developers.openai.com/codex/ide/features#prompting-codex)[### Switch models### IDE extension commands
81 152
82153Use the default model or switch to other models to leverage their respective strengths.](https://developers.openai.com/codex/ide/features#switch-between-models)[### Adjust reasoning effortBrowse the full list of commands you can run from the command palette and bind to keyboard shortcuts.
83 154
84155Choose `low`, `medium`, or `high` to trade off speed and depth based on the task.](https://developers.openai.com/codex/ide/features#adjust-reasoning-effort)[### Image generation </BentoContent>
156 <BentoContent href="/codex/ide/slash-commands">
85 157
86158Generate or edit images without leaving your editor, and use reference assets when you need iteration.](https://developers.openai.com/codex/ide/features#image-generation)[### Choose an approval mode### Slash commands
87 159
88160Switch between `Chat`, `Agent`, and `Agent (Full Access)` depending on how much autonomy you want Codex to have.](https://developers.openai.com/codex/ide/features#choose-an-approval-mode)[### Delegate to the cloudUse slash commands to control how Codex behaves and quickly change common settings from chat.
89 161
90162Offload longer jobs to a cloud environment, then monitor progress and review results without leaving your IDE.](https://developers.openai.com/codex/ide/features#cloud-delegation)[### Follow up on cloud work </BentoContent>
91 163
92164Preview cloud changes, ask for follow-ups, and apply the resulting diffs locally to test and finish.](https://developers.openai.com/codex/ide/features#cloud-task-follow-up)[### IDE extension commands <BentoContent href="/codex/ide/settings">
93 165
94166Browse the full list of commands you can run from the command palette and bind to keyboard shortcuts.](https://developers.openai.com/codex/ide/commands)[### Slash commands### Extension settings
95 167
96168Use slash commands to control how Codex behaves and quickly change common settings from chat.](https://developers.openai.com/codex/ide/slash-commands)[### Extension settingsTune Codex to your workflow with editor settings for models, approvals, and other defaults.
97 169
98170Tune Codex to your workflow with editor settings for models, approvals, and other defaults.](https://developers.openai.com/codex/ide/settings) </BentoContent>
171</BentoContainer>