第1个回答 推荐于2018-05-17
1. 确认window-->preferences-- >General-->Editors-->Text Editors-->hyperlink. 全部勾上。
2. 如果还是不能解决, 那么问题是,打开XML文件格式默认方式不对, 以下是修改为XML Editior打开方法:
Window -> Preferences -> General -> Editors -> File Associations
File types: *.xml
Associated editors:XML Editor*** -> Default
在Associated editors选择框里点击“XML Editor*** ”,点击“Default”按钮。
如果没有*.xml就自己新增一个.本回答被网友采纳