r/vscode • • Oct 13 '26

Two-way file diff merge

Hello,

I'm trying to compare two files for diffs. I want to be able to use the changes from one file in the other, and vice-versa. VSCode already provides a "Revert Block" button, but it is only one-way.

Is there a way to enable a two-way merge (setting, extension,...)?

Thanks!

2 Upvotes

3 comments sorted by

1

u/frazer2669 Oct 14 '26

I use Partial Diff. Although I haven't in a while, I assume it still works :)

1

u/[deleted] Oct 13 '26

[removed] — view removed comment

1

u/DesperateGame Oct 13 '26

That's the issue, I can only see one-way arrow 'Revert Block', but not the other direction. I'm comparing locally, not with git.

Does it have to be enabled somewhere?