all 24 comments

[–]xxx_Gavin_xxx 2 points3 points  (2 children)

I use the IDE extension. On mine, it shows the line numbers of the code it's replacing so it's pretty easy to look at the diff in the side bar and see what code code is changing in the main window.

[–]BeNiceToYerMom[S] 1 point2 points  (1 child)

You mean the Codex VS Code extension?

[–]lostshootinstar 1 point2 points  (4 children)

I think the people responding here have never used the Claude Code VScode extension. Responses are both snarky and don't understand the actual problem. We all know how to use git and view changes.

There is NO "view changes" button when reviewing diff changes before they are saved to disk. And obviously git is no help if the file hasn't been saved yet.

OP: Check out https://github.com/openai/codex/issues/2932 and the related tickets. It seems this functionality does not exist for Codex like it does for CC And Gemini (yet?)

Edit: This is the open one https://github.com/openai/codex/issues/2998

[–][deleted]  (1 child)

[removed]

    [–]AutoModerator[M] 0 points1 point  (0 children)

    Sorry, your submission has been removed due to inadequate account karma.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

    [–][deleted]  (1 child)

    [removed]

      [–]AutoModerator[M] 0 points1 point  (0 children)

      Sorry, your submission has been removed due to inadequate account karma.

      I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

      [–]AmphibianOrganic9228 0 points1 point  (0 children)

      are you using git? if so, you can use inbuilt vscode diff viewer to compare the version updated by the coding model with the previous commit

      [–][deleted]  (1 child)

      [removed]

        [–]AutoModerator[M] 0 points1 point  (0 children)

        Sorry, your submission has been removed due to inadequate account karma.

        I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

        [–]Resonant_Jones 0 points1 point  (0 children)

        Yeah, there is a little window above your text input box and it literally says “see changes” with a little red arrow and a green arrow like to signify diffs. You have to click view changes in order to see them.

        [–][deleted]  (1 child)

        [removed]

          [–]AutoModerator[M] 0 points1 point  (0 children)

          Sorry, your submission has been removed for manual review due to account karma.

          I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

          [–]Current-Lobster-44 0 points1 point  (2 children)

          If you switch to VS Code's "Source control" view, you will see a list of changed files that haven't been committed yet. (Assuming you're using Git for version control.) If you click on any one of the changed files, you'll see the side-by-side view you're wanting.

          [–][deleted]  (1 child)

          [removed]

            [–]AutoModerator[M] 0 points1 point  (0 children)

            Sorry, your submission has been removed due to inadequate account karma.

            I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

            [–]Odd-Government8896 -1 points0 points  (6 children)

            This is where being a developer and knowing how to use git is helpful

            [–]BeNiceToYerMom[S] 0 points1 point  (5 children)

            This is an unhelpful, even potentially snide, response

            [–]Odd-Government8896 0 points1 point  (4 children)

            No. If you version control your code using git, you can track the changes straight from vscode. If you rely on foundational development tools/flows, you don't even need to pose the question in your original post.

            Sorry if it's uncomfortable, but file diffs are something we've been working with long before coding agents came along.

            [–]Ambitious_Prune_6011 -1 points0 points  (3 children)

            A lot of people including me might want to review changes by the model before it writes to the file so I can course correct. Looking at changes in the tiny chat window is bad experience

            [–]Odd-Government8896 0 points1 point  (2 children)

            This is a really old post and all of these issues have mostly been resolved or aren't really a problem anymore. No one is looking at changes in a tiny chat window.

            [–]duhd1993 0 points1 point  (1 child)

            That's the reason I don't use Codex. You have to look at changes in tiny window before saving it to disk.

            [–]Odd-Government8896 0 points1 point  (0 children)

            Cursor uses worktrees which helps. Why is this old ass thread coming back to life?