---
title: "我做了一个用于并排差异显示的 Claude Code 模组"
url: "https://claudemods.dev/zh-cn/builds/i-made-a-claude-code-mod-for-side-by-side-diffs-dedae5"
source: "https://github.com/neteye-platform/cc-split-diff-view"
source_type: "github"
repo: "https://github.com/neteye-platform/cc-split-diff-view"
author: "oskarnrk"
author_handle: "oskarnrk"
stars: 10
category: "工作流与 CI"
categories: ["workflow"]
tags: ["diff", "editor", "plugin", "side-by-side", "ui"]
permission_level: 0
scan_complete: true
install: "claude plugin marketplace add neteye-platform/cc-split-diff-view\nclaude plugin install cc-split-diff-view@neteye-platform"
added: "2026-10-20T02:44:33.798Z"
updated: "2026-10-20T02:44:57.913Z"
locale: "zh-cn"
content_locale: "zh-cn"
---

# 我做了一个用于并排差异显示的 Claude Code 模组

一位 Reddit 用户分享了 cc-split-diff-view，这是一个开源 Claude Code 模组，可将 Edit 和 Write 差异渲染为两个并排的列，并带有真实行号、折叠的未更改部分以及主题感知的语法高亮。帖子包含 GitHub 仓库链接。

## Description

该模组会将 Claude Code 的 Edit 和 Write 工具生成的差异重绘为并排的列：左侧为删除的行，右侧为新增的行，两侧都有真实行号，未更改部分会折叠，并使用 Claude Code 自有的差异颜色和语法高亮（主题感知）。作者是在 Claude Code 2.1.287 版开始提供模组后构建它的，并在 https://github.com/neteye-platform/cc-split-diff-view 提供源代码。

## Install

```
claude plugin marketplace add neteye-platform/cc-split-diff-view
claude plugin install cc-split-diff-view@neteye-platform
```

## Original README

Hi everyone! This is my first post in this subreddit. 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! EDIT: added screenshot   submitted by   /u/oskarnrk   to   r/ClaudeCode [link]   [comments]
