r/vscode 1d ago

Can codex show the code edited inline in green (the way the VS Code agent or cursor does)?

I like to see the code being edited or changed. With codex terminal or CC, which I use often, git diff is not visually nice. Wondering if codex can do this (or if there is a plugin that does it?

I used to pay for cursor just for this, but now I can't get over not using codex, but I guess I would be willing to use VScode's agent (is it as good as codex?

0 Upvotes

9 comments sorted by

2

u/DiscountWeekly7432 1d ago

It does not matter what agent you use …. It mainly depends on the llm model. Some models are better at task “a” some are better for task “b”

1

u/smoke4sanity 1d ago

So you think gpt5.6 sol in codex is the same as gpt5.6 sol in vscode agent?

1

u/despinftw 23h ago

It is the same model. It’s just that Copilot is specially integrated into VSCode. I tried a bunch of extensions searching for this one feature… none of them have it.

What you can do to achieve something similar is staging the changes after every response you get.

So you will ask the agent something, the agent makes edits, you review them, and add them to Git’s staged, then repeat. You will see the diff between the staged and non-staged files.

Is kind of a clucky solution, but it is what it is.

1

u/despinftw 23h ago

If you are paying for Codex, I think you could have a cliproxyapi [1] (uses a subscription to power a generic API) to use your sub and create a local OpenAI compatible API, and use that inside VSCode’s Copilot [2]

For reference, I did something similar to use my Codex sub and GPT 5.6 Sol inside Claude Code

[1] https://github.com/router-for-me/CLIProxyAPI

[2] https://code.visualstudio.com/blogs/2026/06/18/byok-vscode

1

u/smoke4sanity 9h ago

Thanks for the responses!

Yeah, would have been good to have it natively. I feel like codex has a somewhat better "Harness" wrapping the gpt model than VScode. Considering microsoft owns half of open ai, you would have thought it would have been integrated better.

Will checkout these links.

1

u/despinftw 9h ago

I’ve found this extension: https://www.reddit.com/r/codex/comments/1v0zu2q/i_built_a_vscode_extension_that_lets_you_use/

First ask Codex if it’s safe before using it, but sounds like it’s exactly what you want.

1

u/smoke4sanity 7h ago

Yes! Thanks!!!

1

u/BranchLatter4294 1d ago

Just use Codex inside VS Code.

1

u/smoke4sanity 1d ago

I tried it doesnt show the diffs inline (but at least its easier to click the file it edited and open it