Quick Look – How to Quick Look Text Files with Custom File Extensions in Finder


When I have .txt files or .py files, I can Quick Look those files in Finder. I have .jl files that are codes written in the Julia Language. Of course they are text files. They will open in a text editor like Sublime Text. How can I Quick Look these .jl files in Finder?

Best Answer


With the new macOS release in 2019, the macOS Catalina, this approach is banned.

Install QLStephen, a QuickLook plugin that enables viewing of text files with arbitrary filetypes.

To install, copy the *.qlgenerator file to ~/Library/QuickLook/.

Related Question