Show HN: Review patch/diff files as VS Code diffs with on-demand loading marketp...
Show HN @show
Show HN: Review patch/diff files as VS Code diffs with on-demand loading marketplace.visualstudio.com · 2 points · 0 comments · HN thread
TL;DR A VS Code extension, Patch Diff Review, that opens .patch and .diff files as native side-by-side diff editors with inline comment threads, without cloning the repository. When more context is needed, it downloads the full file from GitHub or GitLab at the patch's base commit and applies the patch in memory. Notes are saved to a sidecar file and can be exported as text or TSV; the author posted it as a Show HN with 2 points and no comments.
- Reviews git format-patch, git diff and plain diff -u output as native VS Code diff editors with comment threads, using no webview, so standard accessibility features like the Accessible Diff Viewer apply.
- Load Full Context fetches one file at the patch's base commit from GitHub or GitLab, applies the patch strictly (no fuzz or offset), and checks git blob ids when present; failures leave the review unchanged.
- Locates the repository locally by searching for the patch's commit hashes in nearby TSV, CSV, JSON, TOML or text files, within workspace folders or authorized roots.
- Notes are auto-saved to .review.json and exported as Text or spreadsheet-ready TSV, with spreadsheet-injection escaping on by default.
- Works in desktop VS Code and VS Code for the Web from the same package; reviewing and exporting need no network. Binary patches and combined-merge diffs are rejected.
- Does not apply patches to the working tree or post comments to GitHub or GitLab; published under CC0 1.0 on the Visual Studio Marketplace and Open VSX.
Discussion The thread has no comments yet, so there is no community discussion to summarize. The only context is the submitter's note that the extension lets users review patches standalone without cloning, with attention to accessibility and recent VS Code extension conventions.