"Word wrap" View's option of VSCode in diff's preview

Resolved 💬 4 comments Opened Nov 6, 2025 by nos1609 Closed Dec 14, 2025
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of the VS Code extension are you using?

v0.4.35

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Windows 11 25H2 ARM64 + WSL Fedora 42 Aarch64

What issue are you seeing?

Not being able to use Codex Diff tab with no scrollbar and not being able to switch the word wrapping in codex's diff preview

<img width="2077" height="1749" alt="Image" src="https://github.com/user-attachments/assets/a67cdca3-ed05-498d-888d-fa662a4dc052" />

What steps can reproduce the bug?

Ask codex to generate a piece of code, wait for a file edit action, try pressing Alt+Z (or other keystroke for View - Word wrap) in the edit's diff tab.
IMHO scrollbar is acceptable for chat sidebar in edits permission prompts, but is completely unnecessary in Codex diff preview tab.

What is the expected behavior?

Need to be able to use "Word wrap" View's option of VSCode in diff's preview so that the tab follows the VSCode's default word-wrapping text behavior. i.e. Cidex diff's text appears wrapped with no horizontal scrollbar.

Additional information

VSCode seems to have inegrated diff capabilities, which support word wrapping.

View original on GitHub ↗

4 Comments

etraut-openai contributor · 8 months ago

We are planning to switch to the IDE's built-in diff view, which has the full features of the VS Code editor. That means we don't plan to invest further in the current diff view, which will be removed once we have the new functionality in place.

fehbari · 4 months ago
We are planning to switch to the IDE's built-in diff view, which has the full features of the VS Code editor. That means we don't plan to invest further in the current diff view, which will be removed once we have the new functionality in place.

Is this being added to the VS Code extension anytime soon? Unfortunately I'm still not able to toggle line wrapping when viewing a diff. _View -> Word Wrap_ is disabled and Alt/Opt+Z does nothing. Makes it a chore to review diffs with longer lines.

danmaz74 · 4 months ago
We are planning to switch to the IDE's built-in diff view, which has the full features of the VS Code editor. That means we don't plan to invest further in the current diff view, which will be removed once we have the new functionality in place.

I'm adding a +1 for this issue - not having word wrap makes the feature very difficult to use.

RaulDurand · 2 months ago
I'm adding a +1 for this issue - not having word wrap makes the feature very difficult to use.

Agreed. Still waiting for this feature or the ability to use the native diff.
Currently I have to create a git repository to be able to use the native diff.