Difftastic: A diff that understands syntax

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
  • difftastic

    a structural diff that understands syntax 🟥🟩

  • hdiff

    Hash-based Diffing for AST's

    I really like the idea of focusing on producing patches for human consumption. I studied the problem of merging AST-level patches during my PhD (https://github.com/VictorCMiraldo/hdiff) and can confirm: not simple! :)

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • wordle

    Wordle TUI in Rust (by conradludgate)

    Cargo is Rust's build tool/package manager and can be installed easily using rustup. But I would probably suggest the difftastic maintainers add some prebuilt binaries to the releases

    (I have an example workflow here if anyone from there is interested https://github.com/conradludgate/wordle/blob/main/.github/wo...)

  • helpful

    A better Emacs *help* buffer

    This is written by the same guy who wrote Helpful, an enhancement package for the Emacs Help buffer. I highly recommend checking out Helpful if you haven’t seen it. https://github.com/Wilfred/helpful

  • deadgrep

    fast, friendly searching with ripgrep and Emacs

  • tree-sitter

    An incremental parsing system for programming tools

  • json-ordered-tidy

    A fancy JSON tidier that can arbitrarily order object keys

    I wrote a tool that tidies JSON and can do things like re-orders keys in a fixed order - https://github.com/ActiveState/json-ordered-tidy

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • json-diff

    Structural diff for JSON files

    https://github.com/andreyvit/json-diff works really well for JSON diffing in my experience.

    It's more simplistic than difftastic though: it considers `1` and `[1]` to have nothing in common.

  • delta

    A syntax-highlighting pager for git, diff, and grep output

    Delta is a pager that does Syntax highliting, better diff highliting and improved outputs of existing git commands. Highly recommended.


  • ydiff

    View colored, incremental diff in workspace or from stdin with side by side and auto pager support (Was "cdiff")

    I find ydiff more useful, specially for the side-by-side output: https://github.com/ymattw/ydiff

    I'm using it like "git-ydiff-s" script in my PATH to use "git ydiff-s":


NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts