Zed v0.224 ships split diff view as the new default, showing base code on the left and working copy on the right in synchronized scroll. Built on Zed's multibuffer architecture, the feature required solving two core challenges: keeping both sides vertically aligned across all changed files simultaneously, and maintaining performance at scale. Alignment is handled via a block map that inserts visual spacers between lines. Performance profiling uncovered broader wins including block map inefficiencies that sped up project search, and a macOS process spawning fix (switching from fork/exec to posix_spawn) that reduced main thread hangs from git blame and other external processes. Users can revert to unified diffs via the Diff View Style setting.

5m read timeFrom zed.dev
Post cover image
Table of contents
Diffs are different in ZedModeling alignment in the block mapKeep it fastTry itBuilding a platform that open sources itselfRun Your Project in a Dev Container, in ZedZed Has Rainbow Brackets
7 Comments

Sort: