打开IntelliJ IDEA,File -> Settings -> Editor -> File Types 在红框部分加上你想过滤的文件或文件夹名 转载于:https://www.cnblogs.com/warehouse/p/7018875.html