This one bugged me a long time, and over the weekend I decided that it's finally time to roll it: I created a simple
QuickLook Plugin for CSV files.
The nice thing is - the Finder also uses this Plugin to create the
Finder Icons. For speed reasons I decided to limit the display to the first 200 rows maximum, but since this thing is Open Source, you can change that whenever you like. The project website is here:
http://code.google.com/p/quicklook-csv/. There you can also find a DMG containing a pre-compiled binary ready to use after download.
One thing that I'm not so sure is the UTI (
Uniform Type Identifier) for CSV files. The plugin currently registers for the types
listed in the Wiki, but OS X handles CSV files somewhat strange. I think the UTI for CSV files should be
public.csv, analog to public.html or public.plain-text. But (at least on my Macs) OS X uses
dyn.ah62d4rv4ge80g650. Well, whatever. If you discover other UTIs, please tell me so I can include these in the plugin. Otherwise it won't work for you.
Update Sept 8. 2009
Since Mac OS X 10.6 Snow Leopard, Apple uses
public.comma-separated-values-text as UTI. Fine with me. :)
Pascal: It should not have a problem with parentheses, any valid CSV should work. Is the file Ending ".csv"? Can you send me the output of the following Terminal command?
qlmanage -d1 -t file.csv