TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Language Aware Diffs on GitHub Pull Requests

1 pointsby difflensalmost 3 years ago

1 comment

difflensalmost 3 years ago
Hi HN! We were frustrated with text diffs on GitHub PRs, so we made DiffLens (<a href="https:&#x2F;&#x2F;github.com&#x2F;marketplace&#x2F;difflens" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;marketplace&#x2F;difflens</a>) 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 (<a href="https:&#x2F;&#x2F;www.difflens.com" rel="nofollow">https:&#x2F;&#x2F;www.difflens.com</a>). If you review code, especially TypeScript, JavaScript or CSS, give DiffLens a try, it&#x27;s free!<p>We&#x27;re looking for feedback from developers. If you share our frustrations with reviewing code changes, we&#x27;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&#x27;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!