<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>If I try to force the file type for my Applescript files, I still get the generic text viewer.  In fact, so far I haven't been able to get the TextMate QL generator to be used for ANYTHING.  Does it work on Catalina for anyone at all?  I don't mean the auto-detect of the file type... I mean if you force the file type to be something TM has supposedly been registered for, does it get used?<br></div><div><br></div><div>The OS pops those two error messages each time qlmanage is invoked, but that happens on Mojave too, and it works there.  Google says <b>everyone </b>gets those two errors regardless.<br></div><div><br></div><div>Curt, you said you were using Mojave, so...<br></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>