Adding unsupported file extensions to QuickLook

Some file extensions were still not supported by my QuickLook. If I must edit configuration files I don’t need a preview, I open them directly in my text editor. So maybe that’s the reason why I still didn’t add their support. Anyway today I only wanted to have a quick look into some configuration files, thus I followed the steps of this tutorial by moondark. In my case I added the following UTExportedTypeDeclarations section to TextWrangler’s Info.plist.

    <key>UTExportedTypeDeclarations</key>
	<array>
	<dict>
	  <key>UTTypeConformsTo</key>
	  <array>
		<string>public.text</string>
        <string>public.plain-text</string>
	  </array>
	  <key>UTTypeDescription</key>
	  <string>Plain text file</string>
	  <key>UTTypeIdentifier</key>
	  <string>com.barebones.textwrangler</string>
	  <key>UTTypeTagSpecification</key>
	  <dict>
		<key>com.apple.ostype</key>
		<string>TEXT</string>
		<key>public.filename-extension</key>
		<array>
		  <string>conf</string>
          <string>ini</string>
          <string>bak</string>
          <string>types</string>
		</array>
	  </dict>
	</dict>
	</array>

DeliciousDiggTechnorati FavoritesRedditLinkedInFacebookSpurlTwitterWebnewsYiGGMySpaceYahoo BookmarksFriendFeedGoogle BookmarksLiveJournalShare

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>