如下是修改成XML Editior打開方法Window -> Preferences -> General -> Editors -> File Associations File types:ADD: *.xmlAssociated editors:XML Editor*** -> 點擊 Default在Associated editors選擇框裏點擊「XML Editor*** 」,點擊「Default」按鈕。xml