改变所有的xml的默认打开方式.具体操作如下:Widow–>Preferences–>General–>Editors–>Files Associations,发现在File Types 里还没有*.xml,于是自己add了一个,然后在Assiciations 里选择TextEditor,然后点右边的Default。