The problem is that, on both my Catalina Mac and Mojave Mac, TM’s plugin is registered as being responsible for public.source-code.
But I get the built in Text QL generator being used on Catalina.
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 public.source-code.
-- 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/*TextMate*QL.qlgenerator (1.0) public.text -> /Applications/*TextMate*.app/Contents/Library/QuickLook/*TextMate*QL.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