Does anyone know of any MacOS Quicklook plugins that can handle gtf and/or gff3 files? Google searches are turning up nothing.
Does anyone know of any MacOS Quicklook plugins that can handle gtf and/or gff3 files? Google searches are turning up nothing.
I came across this: https://www.addictivetips.com/mac-os/add-quicklook-support-for-text-based-files-on-macos/ Sounds like it may work in your case. You can decide if you want to try it out.
Thanks, yes, installing and running QLStephen ultimately works well. However, I found that getting the plugin to run properly and recognize gtf and gff3 files was a bit tricky. If anyone reading this encounters issues, here are some links for troubleshooting that I found helpful:
Info.plist
file (repo issue #23), relevant comment #1Info.plist
file (repo issue #23), relevant comment #2Regarding the last two points, you need to follow the steps in relevant comment #1 to obtain a value to be included in Info.plist
as described in relevant comment #2.
You just need to tell MacOS to associate those extensions with a text editor.
Find one of the files in Finder -> Press Cmd + I and go to the "Open with" box -> Choose TextEdit (or you preferred app) -> Hit "Change all" to make that the default app for those extensions
In my experience, this does not work. For example, I have my system set up to open gtf and gff3 files with text editor Sublime Text. When I space-bar a gtf or gff3 file via Finder, Quicklook shows me a small window with the name of the file and a Sublime Text graphic—but it does not show the contents of the file.
However, does this work for you? If so, can you post a screenshot of being able to space-bar over a gtf file and see the contents?
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
These are text format files so why do you need a plugin?
Because of their extensions, they seem to not be handled by vanilla Quicklook.
But maybe I don't need a plugin? I'm looking for a quick way to peruse the contents of gtf and gff3 files that I'm writing.
head
in your shell terminal?Yeah, this'll work, although it's not ideal for my use case with very large numbers of files, e.g.,
What do you want to do with this functionality? If we are talking about the same
quicklook
then that is simply a way of looking inside a file. You could also highlight file(s) --> "right click" --> "Open with" --> "TextEdit" to get more or less the same experience.Sorry if I was not clear, I was looking for a way to be able to press the space bar to have a Quicklook window open, which would allow a user to quickly see the initial contents of the file. With Quicklook open, the user can use the up and down arrows to quickly view the contents of other gtf/gff3 files in the directory. At least on my system with OS Ventura 13.0.1, your suggestion doesn't facilitate that.
Change the Finder association so the files are opened with TextWrangler or BBEdit. Preview should then show content for moderately sized files at least.