Difftastic understands syntactic boundaries. I keep spotting cases in other diff tools where textual diffing can't show the structure.
miniblog.
Related Posts
I've released difftastic 0.50!
In this release:
* Merge conflicts! Difftastic now understands <<<<<<< syntax and shows a syntactic diff of the underlying files.
* Updated parsers for Elixir, Erlang, Go, Kotlin and Racket
* Various styling quality-of-life improvements
I've been thinking about making difftastic smarter about context. In principle it understands structure, so I could limit context to the enclosing definition.
However, sometimes it's nice to see surrounding code. Line 644 isn't useful, but maybe 655 is. Opinions?
I've changed the difftastic slogan to " a structural diff that understands syntax".
Previously I just said "a diff that understands syntax", but users sometimes assumed it was just a diff with syntax highlighting. Hopefully this communicates the purpose better.







