You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codex CLI already has a good approval flow: it can show red/green diffs in the terminal and ask the user to approve or reject changes. This works well, but currently it only happens in the terminal.
It would be great to also have this experience directly inside an IDE (e.g. VS Code or Cursor). For example:
Show the diff inline in the IDE’s editor
Let the user approve, approve for session, or reject from there
Then send the decision back so Codex can apply or skip the patch
This would feel much smoother, similar to how CloudCode shows changes inside the editor, instead of switching back to the terminal.
Are you interested in implementing this feature?
Yes — I’d be happy to help prototype an extension that connects Codex approvals into VS Code / Cursor.
Additional information
No response
Reacted by Maciej Król, Sean Trantalis, Serhii Zolotov, Clément Schreiner, Rafael Izidoro, frasergr, Lin Zehui, Alishan Ladhani, bhack, rmilkowski and 235 more
Reacted by Jongwook Choi, Paweł Grzybek, David Jerleke and Eketol
The CC VScode extension has a much better diff viewing experience. It allows you to view the full diff in VScode's diff viewer BEFORE the file is written to disk. Codex only shows a tiny little window with a proposed diff and there is not even a way to expand it to full screen. You have to let it write to disk to use git and/or VSCode diff viewer which is not ideal when you are trying to collaborate and approve each change rather than using full on autonomous mode.
Reacted by bhack, Yanni Eleuther, Eddie Svirsky, Stephen Firrincieli, Sasha, Eugene Kim, seIIers, Marko Anastasov, jinwoo-enerzai, jamie-cogitait and 16 more
@theclunkerjunker Have you tried clicking "View all changes". That will open a full editor pane with all of the diffs. We will also be iterating on this surface over time.
For the folks who want the CLI <> IDE integration, what do you prefer about the CLI vs using the extension directly?
Reacted by m4riok, Alexis, TheMrCodes, clikader, spider853, Jiun Jeong, rommyarb, Eemeli Väljä, ash-gr-dev, Ignat Remizov and 20 more
Have you tried clicking "View all changes". That will open a full editor pane with all of the diffs
That's the view that we are looking for, but we'd like to be able to see it before accepting or rejecting the proposed changes. Right now the View all changes button to see the full editor diff is only visible after accepting the changes
It's a much nicer experience to be able to see the diff in the full editor view when deciding if the changes should be accepted or rejected. Especially when there are a lot of proposed changes, it's a lot harder to read them in the small chat window. For me it's the number 1 missing feature from Codex compared to Claude Code
Reacted by Jake Olefsky, jamie-cogitait, m4riok, fourst4r, Michael Boeding , Alexis, grabius, Filip Weisser, spider853, Petr Štěpánek and 17 more
@gpeal@swfunc yes, exactly that. You cannot "view changes" until the files have been written to disk already.
CC has this great workflow I use where it proposes a change, shows me a full diff in the VSCode native diff viewer (not yet written to disk), and allows me to either approve it or "Reject and tell Claude what to do instead". Claude also seems to retain the context of the rejected diff and incorporates it into feedback.
I've yet to be able to replicate this workflow with Codex.
Reacted by Stephen Firrincieli, Eugene Kim, Marko Anastasov, James, Weitang Ye, ., greenTableWork and mememe nome
@theclunkerjunker Have you tried clicking "View all changes". That will open a full editor pane with all of the diffs. We will also be iterating on this surface over time.
For the folks who want the CLI <> IDE integration, what do you prefer about the CLI vs using the extension directly?
@gpeal I prefer being able to have Codex in a CLI so that it's in a dedicated screen. This allows me to have maximum real estate for code and my filetree in my main monitor. Viewing the Codex extension means I can't see my file tree. I also find the Codex extension hard to read. If I want to make its text bigger, that zooms everything in, which isn't ideal.
I think people talk about different features here, all under one "issue"...
Personally I want codex CLI being able to integrate with diffs from jetbrains IDE's, so kind of /ide command support for jetbrains.
Jetbrains codex plugin doesn't suffice for people who want more than basic features (there is no /plan, no /goal, no /compact and more..., and will likely stay that way for foreseeing future).
This has been the default behavior in most IDEs, the fact openai has sat on this feature request for almost a year now is very saddening. With a lot of orgs moving toward enterprise accounts where we are to use the codex extension in our respective IDE and we lose the integrated diff really impacts workflow.
This feature should have already been added to the codex extension.
Reacted by mmcintyre123, Irbaz Ahmed, m4riok, Tim Robertson, Michael Lieberherr, William Radaic and Alwyn Durham
Recent changes seem to have made it impossible to even see diffs of just a few lines. I can't even confirm what I need to approve. I have doubts about the direction Open AI is heading.
Honestly first time user of Codex. An hour in I was still setting up the workflow, I felt okay, it's going good, more polished than CC, but then on the very first edit on an actual file I felt oh no!
Please guys this is a deal breaker for serious work.
Think about the non vibe coders.
After evaluating Codex for a week, this is the # 1 thing that is going to keep me from switching off of copilot. Too much friction requiring us to open a second window vs seeing inline diffs/approval.
Codex is giving me massive "Designed for vibe coders" feeling because it's missing approval. It makes the ChatGPT app basically useless for me. I've started using Kilo Code in CLion instead and won't be coming back until there's a "Approve or discard" feature
I'm trying to make Codex my primary coding agent instead of Claude Code, but the current edit-review and permissions UX is a blocker. I have three related requests:
1. Show proposed edits in the actual IDE editor, before applying them. In VS Code, I want a proper, full-size, side-by-side Git-style diff of the proposed change in the source editor, with Accept / Reject controls (ideally for individual files and hunks). The small approval popup in the Codex sidebar is not a substitute, and neither is reviewing a diff after the changes have already been written. Claude Code's manual edit review is the experience I'm looking for.
2. Make that exact editor-based review work from both the Codex sidebar and Codex CLI. If I launch codex in the VS Code terminal, an edit approval should still open the proposed diff in my VS Code editor and send my decision back to the CLI session. The sidebar and CLI shouldn't have different review capabilities. A terminal-only fallback is fine when no IDE is attached.
3. Make permissions granular, legible, and easy to switch. Currently it's hard to understand the interplay between sandbox restrictions, approval policy, and the available modes. I'd like clearly defined, independent controls for reading repository files, reading/searching the internet, modifying project files, executing commands, and higher-risk actions (e.g. destructive commands or writes outside the repo). Show the effective permissions clearly, and allow presets/profiles with an obvious toggle.
My ideal everyday workflow: Repository reading and ordinary internet research are allowed in both modes. A simple Auto / Manual editing toggle controls only code modifications: Auto applies edits autonomously; Manual pauses before each proposed edit and shows the IDE diff for my approval. Approval scope (once, file/hunk, or session) should be explicit. Switching edit modes shouldn't unexpectedly disable internet access or require me to decipher multiple permission layers.
These are usability issues, not a request for more unrestricted power. I want Codex to be autonomous when I choose, and genuinely reviewable when I choose. I would happily switch more of my work to Codex if this were supported.
The thread (and @nsp121's recent write-up) is really three products under one title:
Ask
What users want
Exists today?
A. Review before apply
Proposed edit opens as a full IDE diff with Accept / Reject (file + hunk), before the file changes
Sidebar approve popup / post-write diff — not the same
B. Same review from CLI in the IDE terminal
codex in the VS Code terminal still opens that IDE diff and sends the decision back
CLI and sidebar diverge
C. Clear Auto / Manual editing
One toggle for "apply edits alone" vs "pause before each edit"; sandbox / net stay independent
Modes and permissions are hard to read together
A small Desktop / VS Code extension v1 that would close most of this:
Manual editing mode: every proposed file edit opens in the editor as a side-by-side diff with Accept / Reject (file, then hunk if easy). Nothing is written until Accept.
Auto editing mode: today's apply-then-show behaviour, labelled clearly.
One place to switch Auto ↔ Manual for the session, without touching network or sandbox.
Leave JetBrains parity and full CLI↔IDE bridging (B) for a follow-up once (A)+(C) exist in the extension.
That matches what people compare to Claude Code's manual review and Copilot's inline accept, without waiting on a full permissions redesign. If maintainers prefer hunk-level Accept in v1 vs file-only, saying so would unblock anyone drafting against this.
Firstly, thanks for taking an interest in this. I'd really like to see Codex continue improving, as I think it has enormous potential.
I've realised that the CLI integration is probably less important than I originally suggested. The Codex extension can already be docked horizontally at the bottom of VS Code, which works quite nicely. I suspect some developers (myself included) are simply accustomed to terminal-based coding agents after using Claude Code.
The two improvements I'd particularly love to see are:
Native editor diffs with approval before applying edits. A proper side-by-side comparison in the VS Code editor, allowing users to accept or reject proposed changes individually.
Clearer, more granular permissions. Ideally, a simple Auto/Manual editing toggle, with independent permissions for reading files, accessing the internet and executing commands.
I think these would meaningfully improve Codex for a broad range of developers, particularly those who want to stay closely involved in reviewing their code.
Are either of these improvements currently being considered or actively developed?
Activity
kromacie commentedon Sep 1, 2025
Sounds good. I would vote to see it also in a Jetbrains IDE as well
bhack commentedon Sep 4, 2025
Is the accept or discard edits API exposed in VScode?
https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode#_accept-or-discard-edits
azeek commentedon Sep 5, 2025
It would be great if Codex had a feature to attach the code from the currently viewed file or selected line when sending commands.
This is already supported in Claude Code.
eugene-kim commentedon Sep 12, 2025
Yes, this would be very helpful. I'd like an integration between IDE and Codex CLI (not the VSCode extension) that includes:
yathxyz commentedon Sep 15, 2025
Was going to submit an issue asking for this, specifically for IDE integration that is agnostic.
A good example that I am aware of (and currently use) is https://github.com/stevemolitor/monet which sends diff proposals from Claude Code to an Emacs diff buffer through a websocket connection.
theclunkerjunker commentedon Sep 16, 2025
The CC VScode extension has a much better diff viewing experience. It allows you to view the full diff in VScode's diff viewer BEFORE the file is written to disk. Codex only shows a tiny little window with a proposed diff and there is not even a way to expand it to full screen. You have to let it write to disk to use git and/or VSCode diff viewer which is not ideal when you are trying to collaborate and approve each change rather than using full on autonomous mode.
gpeal commentedon Sep 18, 2025
@theclunkerjunker Have you tried clicking "View all changes". That will open a full editor pane with all of the diffs. We will also be iterating on this surface over time.
For the folks who want the CLI <> IDE integration, what do you prefer about the CLI vs using the extension directly?
swfunc commentedon Sep 18, 2025
That's the view that we are looking for, but we'd like to be able to see it before accepting or rejecting the proposed changes. Right now the
View all changesbutton to see the full editor diff is only visible after accepting the changesIt's a much nicer experience to be able to see the diff in the full editor view when deciding if the changes should be accepted or rejected. Especially when there are a lot of proposed changes, it's a lot harder to read them in the small chat window. For me it's the number 1 missing feature from Codex compared to Claude Code
theclunkerjunker commentedon Sep 18, 2025
@gpeal @swfunc yes, exactly that. You cannot "view changes" until the files have been written to disk already.
CC has this great workflow I use where it proposes a change, shows me a full diff in the VSCode native diff viewer (not yet written to disk), and allows me to either approve it or "Reject and tell Claude what to do instead". Claude also seems to retain the context of the rejected diff and incorporates it into feedback.
I've yet to be able to replicate this workflow with Codex.
swfunc commentedon Sep 18, 2025
This one I'd also love to have in Codex
eugene-kim commentedon Sep 18, 2025
@gpeal I prefer being able to have Codex in a CLI so that it's in a dedicated screen. This allows me to have maximum real estate for code and my filetree in my main monitor. Viewing the Codex extension means I can't see my file tree. I also find the Codex extension hard to read. If I want to make its text bigger, that zooms everything in, which isn't ideal.
shiroyasha commentedon Sep 19, 2025
The current "View all changes" is a good start, but I find it hard to use in practice.
As mentioned by @bhack the accept or discard edits API offers the best usability in vscode and derivates https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode#_accept-or-discard-edits.
45 remaining items
tranvu18051998-netizen commentedon May 22, 2026
Please add this feature to vs code extension
dydzio0614 commentedon May 22, 2026
I think people talk about different features here, all under one "issue"...
Personally I want codex CLI being able to integrate with diffs from jetbrains IDE's, so kind of /ide command support for jetbrains.
Jetbrains codex plugin doesn't suffice for people who want more than basic features (there is no /plan, no /goal, no /compact and more..., and will likely stay that way for foreseeing future).
Nadelopo commentedon May 23, 2026
dude, copilot is way more expensive than codex now
Florence233 commentedon May 28, 2026
It's still not triggering, even though I've already configured the GPT API key in configure.
darkseid4nk commentedon Jun 19, 2026
This has been the default behavior in most IDEs, the fact openai has sat on this feature request for almost a year now is very saddening. With a lot of orgs moving toward enterprise accounts where we are to use the codex extension in our respective IDE and we lose the integrated diff really impacts workflow.
This feature should have already been added to the codex extension.
sleepo581 commentedon Jun 21, 2026
This is why many people prefer Claude Code over Codex!
muslimdevhamid commentedon Jun 27, 2026
+1 A accepting and rejecting and diff viewing system like cursor and copilot would be really great to have, atleast in the codex vscode extension
mv-inda commentedon Jul 1, 2026
+1 big disadvantage
ats05 commentedon Jul 13, 2026
Recent changes seem to have made it impossible to even see diffs of just a few lines. I can't even confirm what I need to approve. I have doubts about the direction Open AI is heading.
hksbindra commentedon Jul 20, 2026
Honestly first time user of Codex. An hour in I was still setting up the workflow, I felt okay, it's going good, more polished than CC, but then on the very first edit on an actual file I felt oh no!
Please guys this is a deal breaker for serious work.
Think about the non vibe coders.
ArmandFrvr commentedon Jul 21, 2026
After evaluating Codex for a week, this is the # 1 thing that is going to keep me from switching off of copilot. Too much friction requiring us to open a second window vs seeing inline diffs/approval.
Variann commentedon Sep 8, 2026
Codex is giving me massive "Designed for vibe coders" feeling because it's missing approval. It makes the ChatGPT app basically useless for me. I've started using Kilo Code in CLion instead and won't be coming back until there's a "Approve or discard" feature
nsp121 commentedon Nov 6, 2026
I'm trying to make Codex my primary coding agent instead of Claude Code, but the current edit-review and permissions UX is a blocker. I have three related requests:
1. Show proposed edits in the actual IDE editor, before applying them. In VS Code, I want a proper, full-size, side-by-side Git-style diff of the proposed change in the source editor, with Accept / Reject controls (ideally for individual files and hunks). The small approval popup in the Codex sidebar is not a substitute, and neither is reviewing a diff after the changes have already been written. Claude Code's manual edit review is the experience I'm looking for.
2. Make that exact editor-based review work from both the Codex sidebar and Codex CLI. If I launch
codexin the VS Code terminal, an edit approval should still open the proposed diff in my VS Code editor and send my decision back to the CLI session. The sidebar and CLI shouldn't have different review capabilities. A terminal-only fallback is fine when no IDE is attached.3. Make permissions granular, legible, and easy to switch. Currently it's hard to understand the interplay between sandbox restrictions, approval policy, and the available modes. I'd like clearly defined, independent controls for reading repository files, reading/searching the internet, modifying project files, executing commands, and higher-risk actions (e.g. destructive commands or writes outside the repo). Show the effective permissions clearly, and allow presets/profiles with an obvious toggle.
My ideal everyday workflow: Repository reading and ordinary internet research are allowed in both modes. A simple Auto / Manual editing toggle controls only code modifications: Auto applies edits autonomously; Manual pauses before each proposed edit and shows the IDE diff for my approval. Approval scope (once, file/hunk, or session) should be explicit. Switching edit modes shouldn't unexpectedly disable internet access or require me to decipher multiple permission layers.
These are usability issues, not a request for more unrestricted power. I want Codex to be autonomous when I choose, and genuinely reviewable when I choose. I would happily switch more of my work to Codex if this were supported.
balabommablock-cpu commentedon Nov 7, 2026
The thread (and @nsp121's recent write-up) is really three products under one title:
codexin the VS Code terminal still opens that IDE diff and sends the decision backA small Desktop / VS Code extension v1 that would close most of this:
That matches what people compare to Claude Code's manual review and Copilot's inline accept, without waiting on a full permissions redesign. If maintainers prefer hunk-level Accept in v1 vs file-only, saying so would unblock anyone drafting against this.
nsp121 commentedon Nov 7, 2026
Hi @gpeal,
Firstly, thanks for taking an interest in this. I'd really like to see Codex continue improving, as I think it has enormous potential.
I've realised that the CLI integration is probably less important than I originally suggested. The Codex extension can already be docked horizontally at the bottom of VS Code, which works quite nicely. I suspect some developers (myself included) are simply accustomed to terminal-based coding agents after using Claude Code.
The two improvements I'd particularly love to see are:
Native editor diffs with approval before applying edits. A proper side-by-side comparison in the VS Code editor, allowing users to accept or reject proposed changes individually.
Clearer, more granular permissions. Ideally, a simple Auto/Manual editing toggle, with independent permissions for reading files, accessing the internet and executing commands.
I think these would meaningfully improve Codex for a broad range of developers, particularly those who want to stay closely involved in reviewing their code.
Are either of these improvements currently being considered or actively developed?
Thanks again!