DEV Community

Cover image for A better code Quick Look
Paul
Paul

Posted on

1

A better code Quick Look

While trying to figure out how to get Quick Look working in Catalina (still working on that one). I found some great tips on installing plugins for additional features here sindresorhus/quick-look-plugins.

Here's the 3 simple steps for getting code to render and check out the above repo for more.

One Prerequisite

brew is suggested to install the plugins and is required for this guide.

Three Steps for Catalina

Step 1: Install the plugin(s). There are many more if you poke around.

brew cask install qlcolorcode

Additional removal of quarantine attributes steps for Catalina

Step 2: List the attributes you will be removing with

xattr -r ~/Library/QuickLook

Step 3: Remove the attributes

xattr -d -r com.apple.quarantine ~/Library/QuickLook

Try it out by clicking a file and hitting the spacebar.

Quick Look Preview

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay