Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why public.xml not handled by QLColorCode? #80

Open
moonfruit opened this issue Dec 18, 2020 · 2 comments
Open

Why public.xml not handled by QLColorCode? #80

moonfruit opened this issue Dec 18, 2020 · 2 comments
Assignees
Labels

Comments

@moonfruit
Copy link

I use macOS 11.1 and QLColorCode. I found a strange problem that public.xml is handled by /System/Library/QuickLook/Text.qlgenerator, and not handled by QLColorCode.

In /System/Library/QuickLook/Text.qlgenerator/Contents/Info.plist I found this:

	<key>LSItemContentTypes</key>
	<array>
		<string>public.plain-text</string>
		<string>public.rtf</string>
		<string>com.apple.rtfd</string>
		<string>org.oasis-open.opendocument.text</string>
		<string>com.apple.property-list</string>
		<string>public.xml</string>
		<string>public.json</string>
	</array>

And I use qlmanage -m plugins | grep to find which generator that these types were bind to. I got this:

  com.apple.property-list -> /Users/moon/Library/QuickLook/QLColorCode.qlgenerator (4.0.2)
  com.apple.rtfd -> /System/Library/QuickLook/Text.qlgenerator (928.1)
  org.oasis-open.opendocument.text -> /System/Library/QuickLook/Text.qlgenerator (928.1)
  public.json -> /System/Library/QuickLook/Text.qlgenerator (928.1)
  public.plain-text -> /System/Library/QuickLook/Text.qlgenerator (928.1)
  public.rtf -> /System/Library/QuickLook/Text.qlgenerator (928.1)
  public.xml -> /System/Library/QuickLook/Text.qlgenerator (928.1)

From this, we can see that QLColorode already bind to com.apple.property-list, but failed bind to public.xml.
Can somebody know why? And is there a way to make public.xml bind to QLColorCode?

@anthonygelibert
Copy link
Owner

Can you look at #67, please? I think it's the same problem…

@cybercussion
Copy link

Mine is bound -
public.xml -> /Users/mark/Library/QuickLook/QLColorCode.qlgenerator (4.1.0)

Yet when I quick look xml it doesn't work. XSD does work.

I'm not a ~/Library/QuickLook/QLColorCode.qlgenerator/Contents/Info.plist whisperer though I don't know how it decides based on all this junk I have in mine. Its a bit of a irritation but thankfully I don't quicklook xml that much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants