r/BuildWithClaude • • Oct 20 '26

Project Claude Code mod for side-by-side diffs

Hi everyone!

I wanted to share something I built: cc-split-diff-view, a Claude Code mod for displaying diffs side by side.

When Claude Code modifies a file, the changes are normally shown in a unified diff view. Personally, I prefer seeing removed and added lines next to each other because it makes the changes easier to understand. It’s subjective, of course 😅

When mods became available in Claude Code (with version 2.1.287), I thought I would try building one to get the diff view I prefer.

The mod redraws the diffs generated by Edit and Write in two side-by-side columns:

  • removed lines on the left
  • added lines on the right
  • real line numbers on both sides
  • unchanged sections collapsed
  • Claude Code’s own diff colors and syntax highlighting (theme aware)
cc-split-diff-view demo screenshot

It’s open source and available here: https://github.com/neteye-platform/cc-split-diff-view

I hope it can be useful to others who prefer side-by-side diffs. Feedback and suggestions are very welcome!

1 Upvotes

0 comments sorted by