1、打开idea应用,这时项目中显示iml文件,如图
3、点击Settings弹出Settings窗口,如图
5、点击File Types显示File Types页面,如图
7、点击ok,项目中的iml文件就消失了,如图