Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My system understands a file UTI, public.objective-c-plus-plus-source, which conforms to public.source-code

I'd like to use a different extension for certain files that conform to this UTI. I'd like them to be opened with whatever application opens objective-c++ source.

My current thought on how to achieve this is to declare a new UTI, which conforms to objective-c++ source. I'm aware that I could create an application that exports the new type, but that wouldn't work well for me. Is it possible to register the new type with LaunchServices directly via the command line?

share|improve this question

1 Answer 1

The easiest would be to download and install RCDefaultApp. Go to System Preferences » Default Apps, then the MIME Types tab, or UTIs tab.

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.