Mac OSX: opening .cc files with MacVim instead of Xcode by default

0

In Mac OSX 10.6.4, I'm trying to change the default application for opening .cc files from Xcode to MacVim, but Xcode or OSX won't abide. Here's a screenshot:

alt text

Notice how the clicking "Change All..." to MacVim results in the dialogue asking me to confirm the switch to Xcode - it's really hogging those files!

Why is this / is there any other way to change this?

Cheers!

trolle3000

Posted 2010-09-22T12:51:59.110

Reputation: 1 670

Have you confirmed that the dialog is not simply displaying the wrong App name - that if you click continue, then try to open a cc file, it will still open with Xcode? – xdumaine – 2010-09-22T13:01:12.833

It still opens i Xcode. Tried quitting Xcode too, doesn't work – trolle3000 – 2010-09-22T13:06:41.043

It worked after rebooting - guess that would have been quicker than posting the question in the first place. – trolle3000 – 2010-09-22T18:50:43.837

Answers

0

A reboot did the trick... obviously ;-)

trolle3000

Posted 2010-09-22T12:51:59.110

Reputation: 1 670

2

You could try setting the default application using RCDefaultApp.

Daniel Beck

Posted 2010-09-22T12:51:59.110

Reputation: 98 421

0

If all else fails, try downloading Onyx, then going to Maintenance -> Rebuild and choosing to reset "LaunchServices". This is a bit of a drastic solution, as it'll reset all document->app mappings, but it may help you do what you need, too.

JustinShoffstall

Posted 2010-09-22T12:51:59.110

Reputation: 381

1This answer should probably by HUGELY more caveated. He's going to lose ANY non-default association, and could potentially be inundated with associations problems after running that mapping reset. – VxJasonxV – 2010-09-22T16:11:27.313