Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

TextMate's QL generators are supposed to render QL views for files that TM recognizes, while TM is open. Out of the box, it only renders the basic ones (C, Perl, etc), but this article on Ciaran Walsh's Blog explains how to add other UTIs to the generator, to have them rendered properly.

Unfortunately, it doesn't seem to work with Dynamic UTIs which are the only type I can find for HAML and YML files (dyn.ah62d4rv4ge80u2prru and dyn.ah62d4rv4ge81w5pq on my system) using PathFinder's ShowInfo command.

Is there a way to use Dynamic UTIs in the TM QL generator's info.plist? Are there standard UTIss for HAML and YML files? Or am I out of luck?

share|improve this question
Just define your own UTIs for these file types. – Daniel Beck Jan 26 '12 at 19:05
But the UTIs are dynamic, so I would be constantly having to update them, no? – Gus Shortz Feb 4 '12 at 4:34
up vote 1 down vote accepted

Dynamic UTIs are assigned to unknown file types so they have a UTI other than "data".

I suggest you define UTIs for file extensions .haml and .yml and use them in your custom QLGenerator. See this post on SU. The linked topic also contains another answer that suggests to use a QuickLook plugin for the UTI every file falls back on.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.