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. :)
Update March 10, 2010
Released a small update, it should now also display previews for FileMaker exports, files ending in ".tsv" and set the badge item accordingly to "tab" instead of "csv".
Ray: Having the same problem. Very frustrating. Luckily, for some reason my released version worked on the iPad itself, but now I can't get it to run in the simulator. Getting no such table, which I'm guessing is an initialization error. Will continue to investigate.