Re:Difftastic: Syntax-aware structured diff tool
by dan-robertson on Thursday July 08, 2021 @08:13AM
(#27770918)
I personally am much more excited by “sliders” than the structure-aware diffs. Marking additions between [], it is the difference between e.g.
And
[ Parent
| on HN ]
Re:Difftastic: Syntax-aware structured diff tool
by Wilfred on Thursday July 08, 2021 @12:09PM
(#27773916)
I agree sliders are a problem, and I hope to have a solution there.
Syntactic differs already do better because they understand that parentheses/brackets are paired. Difftastic does OK with this example: https://imgur.com/a/pVlVBo5
Re:Difftastic: Syntax-aware structured diff tool
by dan-robertson on Thursday July 08, 2021 @01:53PM
(#27775552)
Yeah I’m keen to see your solution.
FWIW, the formatting of the snippets I wrote above was as two separate diffs for additions with the new additions (ie green parts) represented with [square brackets].