The way with Get Info > Open with > Change All bla .. bla .. bla .. doesn't work actually. When i set these way for a type .php (for example), it always open with XCode next time.

I've set File Association inside Eclipse already. But whatever, it doesn't work.

So how to solve it?
My Eclipse is Helios on Mac OS X 10.7.3.

有帮助吗?

解决方案

Right click on file and choose "get info", then in the "open with" section, apply by clicking "change all".

其他提示

I've use the method I describe here on 3 or 4 different Macs and it always has worked for me.

There is a way to do this per file type. I found it on Tech-recipes

  1. Ctrl-click on the file you want to open
  2. Click Open with
  3. Select Other
  4. Select the applcation you want to open the file
  5. Select Always Open With
  6. Click Open button
  7. Ctrl-click on the file again
  8. Click Get Info
  9. Under Open With pick the app that you want to become the default
  10. Click the Change All button

I hope this helps

I had to uninstall Adobe Flash Builder, so that Eclipse could be selected from the list. (Eclipse.app was greyed out in the list of apps and Flash Builder kept setting itself as default app).

Get Info > Open with > Change All worked for me.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top