Super User is a question and answer site for computer enthusiasts and power users. 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

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .