Created
March 31, 2010 14:32
-
-
Save atr000/350396 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you want to add more file type handled by my plugin, use this place holder automator application and modify the file named /Applications/Unique Type Identifiers.app/Contents/Info.plist. | |
Add a section like this at the end: | |
<dict> | |
<key>UTTypeConformsTo</key> | |
<array> | |
<string>net.samlepirate.uti.xml</string> | |
</array> | |
<key>UTTypeDescription</key> | |
<string>Visual Studio Project</string> | |
<key>UTTypeIdentifier</key> | |
<string>net.samlepirate.uti.vcproj</string> | |
<key>UTTypeTagSpecification</key> | |
<dict> | |
<key>com.apple.ostype</key> | |
<string>TEXT</string> | |
<key>public.filename-extension</key> | |
<array> | |
<string>vcproj</string> | |
</array> | |
</dict> | |
</dict> | |
before: | |
</array> | |
</dict> | |
</plist> | |
Change UTTypeDescription value. Then change UTTypeIdentifier to a unique identifier (use something like net.samlepirate.uti.file_extension) and add your extension in the public.filename-extension array. | |
You can let the plugin choose between a standard xml or text color syntaxing for your file by changing the value of UTTypeConformsTo from net.samlepirate.uti.xml to net.samlepirate.uti.text. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment