Window -->Preference -->General -->Editors -->File Association -->选中文件类型 -->选中默认打开方式 -->Default -->OK。