问题: 通过flie创建*.xml文件时如下显示,文件内容也不会有高亮显示: 解决办法: 点击Setting—Editor—File Types—Auto-detect file type by content标签,删掉其中的记录即可 效果: