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?
-
how do you preview in Finder? do you mean the Quick Look ?– RuskesDec 24, 2014 at 21:26
-
I think if one works the other will.– markhunteDec 24, 2014 at 23:16
-
1Have a look at this thread superuser.com/questions/230204/…– markhunteDec 24, 2014 at 23:57
-
1@Buscar웃 Yes, I meant Quick Look. I will modify the question.– ChangDec 25, 2014 at 15:40
-
Looks like a duplicate of apple.stackexchange.com/questions/23561/…– Terry NJul 7, 2015 at 2:35
3 Answers
update
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/
.
-
1still works fine for me in Catalina. Just follows the instructions to get around the security warnings– ChrisApr 3, 2021 at 2:26
-
Thank you @SebastianHallumClarke
I didn't find ~/Library/QuickLook/
but I went to the github page of QL Stephen and enter brew cask install qlstephen
in the command line and it installed QL Stephen successfully
-
It is now
brew install --cask qlstephen
, but it doesn't seem to work anymore.– PatrickTApr 22, 2021 at 8:21