最近在學習android, 需要經常打開xml文件。 所以想修改默認其打開方式。
解決方法:
設置默認打開方式為XML Editor。
菜單: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了。
新聞熱點
疑難解答