[Codex Extension] The "Codex Diff" window/viewer doesn't show the diff changes made by Codex in VS Code
Resolved 💬 55 comments Opened Nov 17, 2025 by kamenppavlov Closed Dec 5, 2025
💡 Likely answer: A maintainer (gpeal, contributor)
responded on this thread — see the highlighted reply below.
What version of the VS Code extension are you using?
Version 0.4.43
What subscription do you have?
Plus
Which IDE are you using?
VS Code
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
The ‘Codex Diff’ window that displays the changes made by the Codex Extension cannot be expanded to view the actual diff.
What steps can reproduce the bug?
Ask Codex to change a file and click the "View All Changes" button in the Codex chat. You will note that attempting to expand the changed files to see the differences will do nothing.
<img width="2619" height="944" alt="Image" src="https://github.com/user-attachments/assets/32adb031-6255-431d-9dc4-1d33bef20790" />
What is the expected behavior?
You should be able to see the differences made by Codex in the "Codex Diff" window (tab).
Additional information
_No response_
55 Comments
The same issue does not display differences
The code rollback did not respond
Does this happen to all of your diffs or just this one? If you find one that fails, could you run a
git diffand attach the diff here? We recently updated our git parser and I'd like to get to the bottom of any regressions it might have.From time to time, for example after modifying five files, two of them show as modified, but when I click to view the diff, nothing happens. I’ve already rolled Codex back to last week’s version, and after testing it, it works again.
Most of the files modified during the conversation now appear unchanged, so I’ve tested this on multiple devices.
I don’t think you’ve fully tested the new version — the previous version had similar issues as well.
Are you expecting users to help you test it?
<img width="1082" height="574" alt="Image" src="https://github.com/user-attachments/assets/9faa535c-44e2-4521-89cb-c76899d11ae0" /> I'm experiencing the same issue—the diff isn't displaying.
This is quite perplexing—I can't figure out where codex make the changes unless I open Git to check.
can you use git to generate a patch (of the diff that wont render) and upload here?
codex-diff.patch
This is a partial change.
i have the same issue, the Codex Diff not showing any changes
I was exploring what could be done with the extension, so I asked it to do a stupid change to see how it would display the diff output. The file was XML, and it changed a "true" to "false" for
option3<options option1="true" option2="false" option3="true"><option name="one">
<appliesTo>
<category>BLABLA</category>
</appliesTo>
</option>
</options>
Ultimately, it displays some changes and doesn't for others.
Diff view in codex extension is too hard to use...
Claude code and roocode call the diff view inside vscode, and allow partially accept changes. That is more efficient!
I have the same issue, no changes shown, clicking expand on an individual change in the Codex Diff window does nothing. Happens for all file changes made so far.
+1 Had this same problem since last week
+1 same problem
Sometimes if there is a single file changed the codex diff window opens with the changes visible
yes me too. sometime it doesn't show anything even after clicking the expand button
Add 1 more user to the list of those who have this problem :)
Its expand button doesn't work on Codex Diff and even in the chat section, which previously would show, and when it asks for permission to allow the changes (I am using the chat mode), so basically I cannot see what it changes, which is essential for me.
Using git diff is not the best, because I don't commit per prompt, and the previous changes will be shown in there as well.
Thanks for the reports. We have a new version (0.4.44/0.5.44 pre-release) rolling out tomorrow that has a potential fix for this. Once it does, coud you let me know if you're still seeing this?
If you are, could somebody attach a
git diffthat we can use to reproduce the issue with?same issue here guys:
<img width="1476" height="133" alt="Image" src="https://github.com/user-attachments/assets/4d0bcd73-ef5b-43fd-ad92-f51196d64c00" />
+1 same issue
!Image
@kazakhokage @tmandanici We're releasing an update with support for the new gpt-5.1-codex-max model today and it includes a potential fix for this. If you update and still see this, please capture and post a git diff so that I can reproduce it.
@gpeal
Still an issue after the release with gpt-5.1-codex-max...
!Image
!Image
<img width="579" height="167" alt="Image" src="https://github.com/user-attachments/assets/35fd6e53-44f1-4caf-aa46-5a7f1da955a2" />
Here is the sample git diff
_from codex copy button(with paths redacted, shouldn't change the behavior)_
I have already used your latest pre release version, and it seems that I still have this issue.
Can we modify the preview of the code differences to something similar to cursor, which feels better? Friends can leave a message to discuss whether this is good or not
I think if it could be done like this, I could just give up on cursor
I'm curious if this is a windows-only issue. Please 👍 this message if you are experiencing this on Windows or 👎 if you have seen this on mac or linux.
If somebody could attach a raw text diff file to ensure it properly captures things like CRLF line endings, that would be great.
👍
!Image
!Image
But when it sometimes work, I can see that the diff uses CRLF line endings.
<img width="623" height="384" alt="Image" src="https://github.com/user-attachments/assets/4724efce-5ea2-4905-82e6-741bd683adf7" />
sample-diff.txt
It seems like this issue comes from somewhere else even if it's an Windows specific issue..
@gpeal I still have the same issue, even with gpt-5.1-codex-max from the latest release. Nothing has changed.
!Image
!Image
Now i don't even see the indicator for lines changed anymore :(
Same
Which indicator are you referring to?
The linecount indicating the git diff, it's back now, extension updated i guess
having this issue as well with linux.
Having the exact same issue. Includes Review Changes full window diff, and in-chat diff embed.
Windows 10, Codex Extension v0.4.46, VSCode v1.106
This should be fixed in the next release.
I am on extension version 0.5.46 on Windows 11 and this is not fixed.
!Image
!Image
Thanks for your patience. There is another potential fix in the next release.
Once again, if you are able to run a git diff and pipe the output to a file (don't copy and paste which can change things like line endings), and attach the file, that would be great.
You mean just a classic git diff?
Having same issue but thought previously it was somehow linked to Cyrillic characters on Windows.
same issue here
I’m running into the same issue—after clicking “View all changes,” Codex Diff does open but it takes a very long time to load.
I am having the same issue. It was working fine but after colappsing and uncolappsing the changes it just broke to show nothing
same issue here.
Codex 0.5.47 is rollout out to pre-release channels now. Please give that a shot and let me know if that resolves this. Fingers crossed!
HI, still with the same problem :(
<img width="1075" height="708" alt="Image" src="https://github.com/user-attachments/assets/cda16862-c10f-4107-8699-4b02089f22c3" />
Are you on Windows? Can you git diff and pipe it to a text file and upload it? DO NOT copy/paste it from terminal output or anythuing like that. It is critical to retain the diff exactly as git emits it so we can repro on our side.
The one with an issue.
!Image
issue_diff.txt
The one that works.
!Image
success_diff.txt
Seems like it is more likely to not work if the difference is more compilcated.
I feel like their code is written by AI, without even the most basic testing. After updating to the new version, the 5.1 codex max extra high model is stupid
That's really disappointing
0.5.48 pre-release is rolling out today with a few more changes to diff views. Please give that a shot.
I’ve been using this version all day and did not have this issue. Before this update, I had the issue in almost all changes. Thank you.
There will still be this problem when editing large files.
------------------ Original ------------------
From: Abdel @.*>
Date: Fri,Dec 5,2025 5:13 AM
To: openai/codex @.*>
Cc: alixiaodi @.>, Comment @.>
Subject: Re: [openai/codex] [Codex Extension] The "Codex Diff" window/viewerdoesn't show the diff changes made by Codex in VS Code (Issue #6770)
abdelpy left a comment (openai/codex#6770)
0.5.48 pre-release is rolling out today with a few more changes to diff views. Please give that a shot.
I’ve been using this version all day and did not have this issue. Before this update, I had the issue in almost all changes. Thank you.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
Version 0.4.49 now displays diffs correctly on Windows. Thank you for the update!
I'm on v0.4.68 and it's not working at all. Got a red "No diff data"
same as @Shihab-Shahriar , on 0.4.68, getting this when first clicking on a diff:
<img width="148" height="65" alt="Image" src="https://github.com/user-attachments/assets/69b6f61b-c3a9-47ab-8026-45f76ea0dbef" />
Clicking on it a second time then loads it
@Shihab-Shahriar, @Cody-G-G the issue you're seeing isn't the same one that was reported in this issue. Please open a new bug report and include details and repro steps if possible.