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?

The OS pops those two error messages each time qlmanage is invoked, but that happens on Mojave too, and it works there.  Google says everyone gets those two errors regardless.

Curt, you said you were using Mojave, so...

--
Marc Wilson
posguy99@gmail.com


On Sun, May 31, 2020, at 9:39 AM, Curt Sellmer wrote:


On Sun, May 31, 2020 at 9:02 AM Farhan Ahmed <inshany@gmail.com> wrote:
I am seeing the same thing in the Finder on Catalina. My output is the same:

🦊 qlmanage -m plugins | grep TextMate
  public.source-code -> /Applications/TextMate.app/Contents/Library/QuickLook/TextMateQL.qlgenerator (1.0)
  public.text -> /Applications/TextMate.app/Contents/Library/QuickLook/TextMateQL.qlgenerator (1.0)

I was not aware of the qlmanage utility until I saw this email....

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.

But if I use this command:  qlmanage -p -c public.source-code U.scala

Then I get the correct QuickLook window that uses the TextMate theme.

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?





_______________________________________________
TextMate mailing list
TextMate@lists.macromates.com
https://lists.macromates.com/listinfo/textmate