How to make Eclipse as a Default Editor FOREVER in Mac OS-X?
题
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
- Ctrl-click on the file you want to open
- Click Open with
- Select Other
- Select the applcation you want to open the file
- Select Always Open With
- Click Open button
- Ctrl-click on the file again
- Click Get Info
- Under Open With pick the app that you want to become the default
- 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.
Install this plugin on eclipse : https://marketplace.eclipse.org/content/default-text-editor