ClaudeMods
☰
JA
● — 人がオンライン ・閲覧 — 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 oskarnrk

サイドバイサイド差分用の Claude Code MOD を作りました

Reddit ユーザーが cc-split-diff-view を共有しています。これはオープンソースの Claude Code MOD で、Edit と Write の差分を 2 つのサイドバイサイド列に、実際の行番号、折りたたまれた未変更セクション、テーマ対応の構文ハイライトとともに描画します。投稿には GitHub リポジトリへのリンクが含まれています。

翻訳済み

この mod について

この MOD は、Claude Code の Edit ツールと Write ツールで生成された差分をサイドバイサイドの列として再描画します。左側に削除された行、右側に追加された行を表示し、両側に実際の行番号、折りたたまれた未変更セクション、そして Claude Code 自身の差分の色と構文ハイライト(テーマ対応)を使用します。作者は Claude Code バージョン 2.1.287 で MOD が利用可能になった後にこれを作成し、https://github.com/neteye-platform/cc-split-diff-view でソースを提供しています。

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add neteye-platform/cc-split-diff-view
claude plugin install cc-split-diff-view@neteye-platform
原文 / 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]

関連作品