QuickLook in Finder for files associated with BBEdit

90 views
Skip to first unread message

Matthew Dahlman

unread,
Jan 10, 2020, 11:13:35 PM1/10/20
to BBEdit Talk
I'd like to be able to preview all text files using QuickLook in Finder. Functionally, this means I could hit <space> and get a useful preview of a file in the popup window that appears. Likewise, the same preview behavior is visible when you bring up file info by right-clicking in the Finder and selecting "Get Info".

Does anyone know if there is a way to force all files associated with BBEdit to have a useful text preview?

Here's the current behavior that I see.
Notice that both files are associated with BBEdit. This is good.
But the file on the left, with the extension "semkey", has what I call a non-useful preview.
The file on the right, with the extension "yaml", has a useful preview.

Previously I had a non-useful preview for both filetypes. I installed QLStephen to attempt to solve this. It seems that later MacOS releases like Catalina have tightened security such that QLStephen doesn't work "out of the box" as easily as it did in the past. Installing it was not sufficient. But manually adding <string>public.yaml</string> in the relevant place in the Info.plist file solves the problem for .yaml files. Hooray!

But manually adding <string>public.semkey</string> in the relevant place does nothing to help with my non-standard .semkey extension. Presumably this is because "semkey" is not a thing in the way that "yaml" is registered as a thing. There's an important lack of precision in that last sentence... but I lack the relevant knowledge to make it better. 

So getting back to the initial question, are other BBEdit users able to preview all of their text files in a useful way?
Because the file "Kind" is "BBEdit.app Document", it seems reasonable that perhaps BBEdit can facilitate the preview. No?

Thanks for any advice,
Matt


Screen Shot 2020-01-10 at 3.59.23 PM.png




Alfredo

unread,
Oct 1, 2020, 1:18:40 PM10/1/20
to BBEdit Talk
Any news/updates on this? 

Thanks.

Alfredo

Gerald Davenport

unread,
Oct 1, 2020, 1:23:02 PM10/1/20
to bbe...@googlegroups.com
I would also like to know as css does not have a preview when doing a quicklook on it as well as get info.

- gerald

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/197507e1-d344-48ec-896f-227d1c08c6e6n%40googlegroups.com.

Byers Home Page

Byers is committed to protecting your health and safety with a Virtual Consultation.

Reviews on Google • Give Us Feedback

We are here to help you Stay Safe!

Gregory Shenaut

unread,
Oct 1, 2020, 1:55:40 PM10/1/20
to bbe...@googlegroups.com
The only thing that has worked for me is to avoid idiosyncratic dot-style (.) extensions in favor of dash-style ones (-). For example, in your case, use foobar-semkey instead of foobar.semkey. IMHO this dependence on dot extensions to determine file type is one of the most embarrassing things about macOS.

The change they made not long ago to a generalized method dealing with them killed off the idea of a universal default, which used to be a way of working around it for quicklooking text files.
Greg

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/197507e1-d344-48ec-896f-227d1c08c6e6n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages