Quick Look is a handy feature of Mac OS X 10.5 āLeopardā. It allows you to view the contents of a file without actually opening it. Iāve found it extremely useful for browsing files.
Of course, out of the box, Leopard doesnāt understand IDL .pro files because ITT VIS doesnāt provide a real application for IDL (the .app files in the IDL distribution are just executable files, not directories in the form expected). Normally, an application provides a listing of associated file types and information about them in a .plist file inside its .app directory. Here is my attempt to provide a āfakeā application that doesnāt do anything except associate .pro files with the plain text file type. To install, simply open the disk image and place the āFakeIDL.appā in /Applications somewhere.
Also, in a related item, itās possible to use Quick Look from the command line (although I generally use it from the Finder). The command is fairly simple, but generates a lot of messages. Hereās a simple script that cuts the clutter it. Put it in your path and call it like:
ql *.pdf
UPDATE: IDL 7.0 seems to have broken my FakeIDL.app. Iāll see if I can fix it.

January 18th, 2010 at 12:27 am
http://code.google.com/p/qlcolorcode/ seems to work too, although I can’t get syntax highlighting to work.