Return to site

Mac set default program for file type

broken image
broken image

TextMate uses an unusual format for ist (it's usually binary or XML), an excerpt of which looks like this: CFBundleDocumentTypes = ( scala, and I want TextMate to handle it.įirst, I Show Package Contents of TextMate.app, navigate to Contents/ and open ist, either with a text editor, or Property List Editor, part of Apple's developer tools XCode. What you need to do is add your file type definition to the application that opens it by default, or create your own 'dummy' application for the file type.Īs an example, my system does not yet know about.

broken image
broken image

Preview provides PDF icons by default, and PNG icons, but if you change all PNG files to open using Pixelmator instead, these files get a Pixelmator-style icon afterwards. The file icon is always provided by the application handling opening a file by default. Icons for file types are handled by Launch Services (the service determining, among other things, which application handles a file type). scala extension and I want to associate an icon for that files through the whole system and for any newly created file of this extension.Īll credits go to the author of the accepted and top-voted answer by Daniel Beck A: How to set an icon for a file type on Mac! Q: How to set an icon for some file types throughout the whole system?įor example, I have text files that ends with.