3 ms·
Ask HN: Language Aware Diffs on GitHub Pull Requests
- difflens 4y agoHi HN! We were frustrated with text diffs on GitHub PRs, so we made DiffLens (https://github.com/marketplace/difflens https://github.com/marketplace/difflens) to produce language aware diffs on PRs. DiffLens constructs an Abstract Syntax Tree for each file, and uses that semantic information to intelligently diff changes. Checkout the demo on our website (https://www.difflens.com https://www.difflens.com). If you review code, especially TypeScript, JavaScript or CSS, give DiffLens a try, it's free! We're looking for feedback from developers. If you share our frustrations with reviewing code changes, we'd love to talk to you. Most developers already have a favourite diff tool installed locally but there exists very little for reviewing code changes online, so we worked on DiffLens slowly over a number of years. We use it to review our own code changes, and we love it. We'd really appreciate thoughts and insights about the idea and its execution from developers and will answer any questions that come up. Thanks for reading!