VibeHunt
Back to browse
QLPrettyPatch

QLPrettyPatch

Quick Look plugin to view patch files

Source

QLPrettyPatch is a Quick Look generator for macOS that renders patch files with syntax highlighting and formatting. When a patch file is selected in Finder or attached to an email, pressing the spacebar opens a preview pane that displays a colorized, easier‑to‑read version of the diff. The generator can also be invoked from the Terminal with `qlmanage -p`, allowing quick inspection of any patch without opening a dedicated editor.

The tool is aimed at developers, code reviewers, and anyone who frequently works with diff or patch files on macOS. It streamlines the workflow of reviewing changes by providing an immediate visual representation, eliminating the need to open the file in a separate application.

Installation is straightforward: a pre‑built generator can be copied to `~/Library/QuickLook/`, or the source can be built in Xcode, which automatically places the plugin in the appropriate location. The visual styling relies on the PrettyPatch formatter, the same component used by the WebKit bug‑tracking system.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps