QuickLook set app to display preview

previewquicklookxcode

Is it possible to set the app that displays the QuickLook preview in OS X?

I'm developing iOS apps and I have Xcode installed, but when I open the QuickLook preview of a Source-Code file, the preview uses the iA Writer, which I have also installed but the "Open with" button un the top right corner shows Xcode.

Info: I'm using a MacBook Air, Late 2010, OS X 10.9.2

Ql with iA Writer

If I uninstall iA Writer it looks like this

no IA writer

Question:

How do I tell the Quick Look NOT to use the iA Writer (without having to uninstall it)?

Best Answer

qlmanage

Use the command line tool qlmanage to investigate your QuickLook set up, including the default generator for each file format.

qlmanage -- Quick Look Server debug and management tool

Apple's QuickLook developer documentation provides a good overview of how QuickLook works and how to test specific plugins.

Editing the iA Writer QuickLook Plugin

You may want to edit the iA Writer QuickLook plugin to disassociate it from your .h and .m files. See QuickLook file associations for more information about achieving this.