Eclipse设定文件的默认打开方式
解决方法:
菜单:Window -> Preferences -> General -> Editors -> File Associations
File types: *.xml
Associated editors:XML Editor*** -> Default
在Associated editors选择框里点击“XML Editor*** ”,点击“Default”按钮。
你将看到“XML Editor*** ”排在最上面,其变为“XML Editor(Default)*** ”。
好了,你再双击*.xml文件试试,是不是ok了,(*^__^*) 嘻嘻……