Code Diff (CodeDiff)

A view showing exactly which lines of code were added, removed, or changed between two versions of a file.

Technically: A code diff is a structured representation of the line-level differences between two versions of source code, commonly in unified diff format with '+' for additions and '-' for deletions. Diffs are the core artifact in pull requests, review tools, and patch files. AI coding assistants generate and consume diffs directly, so the format matters for applying and verifying edits.

Category: Code & Version Control

Related ideas