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了,(*^__^*) 嘻嘻……

本文介绍如何在Eclipse中设置XML文件的默认编辑器。通过简单的步骤,可以轻松地将特定类型的文件(如XML)与指定的编辑器(如XMLEditor)关联起来。
4万+

被折叠的 条评论
为什么被折叠?



