shakeyo / qlcolorcode

Automatically exported from code.google.com/p/qlcolorcode
0 stars 0 forks source link

Does not work in Mavericks #74

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Upgrade to mavericks

What version of the product are you using? On what operating system?
Version 2.0.2 on Mavericks

Original issue reported on code.google.com by gravesit@gmail.com on 2 Nov 2013 at 7:12

GoogleCodeExporter commented 9 years ago
I found the issue (at least in my case): XCode 3 had it's own source code 
viewer qlgenerator, bound to public.source-code. Since quicklookd prefers 
Application-specific generators over Library-installed, qlcolorcode was being 
overridden.

Since they both do essentially the same thing, I'm guessing I just never 
noticed.

Unfortunately, Mavericks tighter sandboxing rules prevent the old plugin from 
loading correctly, resulting in qlcolorcode appearing "broken".

The solution appears to be to move/remove  
/Developer/Programs/Xcode.app/Contents/Library/QuickLook/SourceCode.qlgenerator 
so quicklook (correctly) falls back to qlcolorcode.

More generally, check the output of qlmanage -m | grep 'public.source-code'
If anything other than qlcolorcode shows up, get that plugin out of QuickLook's 
search paths, then run qlmanage -r

That should fix it.

Original comment by david.st...@gmail.com on 13 Nov 2013 at 8:54

GoogleCodeExporter commented 9 years ago
This did not fix my issue since I only have one thing in`qlmanage -m | grep 
'public.source-code'` and its this plugin.

Original comment by gravesit@gmail.com on 13 Nov 2013 at 9:05