打开IntelliJ IDEA,File -> Settings -> Editor -> File Types 在红框部分加上你想过滤的文件或文件夹名 文章永久链接:https://tech.souyunku.com/15209