FIle -> Settings -> 搜索 File Types -> Ignored Files and Folders -> 点击“+”添加想要忽略的某类型 -> 点击Enter -> OK
eg:
*.iml *.ini