1.菜單:Window -> Preferences -> General -> Editors -> File Associations
2. 點擊右邊的:Add 按鈕,在彈出的窗口中輸入: *.xml
3. 在下面的:Associated editors:
選中:Text Editor..., 然後點擊右邊的“Default”按鈕
搞定
1.菜單:Window -> Preferences -> General -> Editors -> File Associations
2. 點擊右邊的:Add 按鈕,在彈出的窗口中輸入: *.xml
3. 在下面的:Associated editors:
選中:Text Editor..., 然後點擊右邊的“Default”按鈕
搞定