VibeHunt
Back to browse

QLColorCode

Quick Look plug-in that renders source code with syntax highlighting

Source

QLColorCode is a Quick Look plug‑in for macOS that displays source‑code files with syntax highlighting. It relies on the Highlight library to generate HTML‑based previews, which are then shown in the Finder’s Quick Look window. Installation is performed by copying the plug‑in into ~/Library/QuickLook or via Homebrew Cask or MacPorts, and the plug‑in can be configured through macOS defaults commands for encoding, font, theme, and other rendering options.

The plug‑in supports a wide range of programming languages by leveraging Highlight’s language definitions, and it adds additional Universal Type Identifier declarations so that macOS recognises many source‑code file types. Users can customize light and dark themes, enable line numbers, and adjust font size or extra Highlight flags. Optional features include rendering the preview as RTF and decompiling compiled AppleScript or binary PLIST files when the appropriate system tools are present.

QLColorCode also enables several Highlight plug‑ins for specific languages, such as Java library handling, C/C++ system‑log parsing, and Python keyword references, extending its highlighting capabilities beyond basic syntax. The project is stable, macOS‑only, and can be built from source with Boost headers available on the system.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps