<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>The problem is that, on both my Catalina Mac and Mojave Mac, TM’s plugin is registered as being responsible for <span class="font" style="font-family:menlo, consolas, monospace, sans-serif;">public.source-code</span>.<br></div><div><br></div><div>But I get the built in Text QL generator being used on Catalina.<br></div><div><br></div><div>I have plenty of, for example, *.applescript files. On Mojave, they’re nicely themed when you QL them. On Catalina, the Text viewer is used. On both machines, the OS thinks they’re <span class="font" style="font-family:menlo, consolas, monospace, sans-serif;">public.source-code</span>.</div><div><br></div><div id="sig39065985"><div>--<br></div><div>Marc Wilson<br></div><div><a href="mailto:posguy99@gmail.com">posguy99@gmail.com</a><br></div></div><div><br></div><div><br></div><div>On Sun, May 31, 2020, at 9:39 AM, Curt Sellmer wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div dir="ltr"><div class="qt-gmail_default" style="font-family:verdana, sans-serif;font-size:small;color:rgb(0, 0, 0);"><br></div></div><div><br></div><div class="qt-gmail_quote"><div dir="ltr" class="qt-gmail_attr">On Sun, May 31, 2020 at 9:02 AM Farhan Ahmed <<a href="mailto:inshany@gmail.com">inshany@gmail.com</a>> wrote:<br></div><blockquote class="qt-gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;"><div style="overflow-wrap:break-word;"><div>I am seeing the same thing in the Finder on Catalina. My output is the same:<br></div><div><br></div><div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Fira Code";color:rgb(242, 242, 242);background-color:rgba(0, 0, 0, 0.85);"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47, 180, 29);"><b>🦊</b></span><span style="font-variant-ligatures:no-common-ligatures;"> qlmanage -m plugins | grep TextMate</span><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Fira Code";color:rgb(242, 242, 242);background-color:rgba(0, 0, 0, 0.85);"><span style="font-variant-ligatures:no-common-ligatures;"> public.source-code -> /Applications/</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(180, 36, 25);"><b>TextMate</b></span><span style="font-variant-ligatures:no-common-ligatures;">.app/Contents/Library/QuickLook/</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(180, 36, 25);"><b>TextMate</b></span><span style="font-variant-ligatures:no-common-ligatures;">QL.qlgenerator (1.0)</span><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Fira Code";color:rgb(242, 242, 242);background-color:rgba(0, 0, 0, 0.85);"><span style="font-variant-ligatures:no-common-ligatures;"> public.text -> /Applications/</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(180, 36, 25);"><b>TextMate</b></span><span style="font-variant-ligatures:no-common-ligatures;">.app/Contents/Library/QuickLook/</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(180, 36, 25);"><b>TextMate</b></span><span style="font-variant-ligatures:no-common-ligatures;">QL.qlgenerator (1.0)</span><br></div></div></div></blockquote><div><br></div><div class="qt-gmail_default" style="font-family:verdana, sans-serif;font-size:small;color:rgb(0, 0, 0);">I was not aware of the qlmanage utility until I saw this email....<br></div><div class="qt-gmail_default" style="font-family:verdana, sans-serif;font-size:small;color:rgb(0, 0, 0);"><br></div><div class="qt-gmail_default" style="font-family:verdana, sans-serif;font-size:small;color:rgb(0, 0, 0);">I am running MacOS 10.14.6 (Mojave) and when I use QuickLook to view a source file such as Foo.scala I just get the generic QuickLook window describing the file.<br></div><div class="qt-gmail_default" style="font-family:verdana, sans-serif;font-size:small;color:rgb(0, 0, 0);"><br></div><div class="qt-gmail_default" style="font-family:verdana, sans-serif;font-size:small;color:rgb(0, 0, 0);">But if I use this command: qlmanage -p -c public.source-code U.scala<br></div><div class="qt-gmail_default" style="font-family:verdana, sans-serif;font-size:small;color:rgb(0, 0, 0);"><br></div><div class="qt-gmail_default" style="font-family:verdana, sans-serif;font-size:small;color:rgb(0, 0, 0);">Then I get the correct QuickLook window that uses the TextMate theme.<br></div><div class="qt-gmail_default" style="font-family:verdana, sans-serif;font-size:small;color:rgb(0, 0, 0);"><br></div><div class="qt-gmail_default" style="font-family:verdana, sans-serif;font-size:small;color:rgb(0, 0, 0);">It seems that the Finder is not associating the "public.source-code" type with the file. However I have told Finder to open all .scala files with TextMate and indeed it is listed as the default App for opening the files. Not sure if there is something else that must be done so that Finder knows that this is a source code file?<br></div><div class="qt-gmail_default" style="font-family:verdana, sans-serif;font-size:small;color:rgb(0, 0, 0);"><br></div><div class="qt-gmail_default" style="font-family:verdana, sans-serif;font-size:small;color:rgb(0, 0, 0);"><br></div><div class="qt-gmail_default" style="font-family:verdana, sans-serif;font-size:small;color:rgb(0, 0, 0);"><br></div><div class="qt-gmail_default" style="font-family:verdana, sans-serif;font-size:small;color:rgb(0, 0, 0);"><br></div></div></div><div><br></div><div>_______________________________________________<br></div><div>TextMate mailing list<br></div><div><a href="mailto:TextMate@lists.macromates.com">TextMate@lists.macromates.com</a><br></div><div><a href="https://lists.macromates.com/listinfo/textmate">https://lists.macromates.com/listinfo/textmate</a><br></div></blockquote><div><br></div></body></html>