如何关闭IntelliJ Spring配置检查目录?

kc2*_*001 9 spring intellij-idea

自从我升级到Intellij IDEA 13后,我在启动时收到了一条警告信息:

Spring Configuration Check
Unmapped Spring configuration files found.
Please configure/setup Spring facet for modules: ...
Run Code Online (Sandbox Code Playgroud)

当我单击链接以确定哪些文件未映射时,我发现它们都在bin目录下.

屏幕截图的警告

有没有办法告诉IntelliJ不要警告我下面的文件bin

Cor*_*ein 21

如果您只想禁用通知,请执行以下操作:

IntelliJ > Preferences > Notifications > Spring Configuration Check > No popup
Run Code Online (Sandbox Code Playgroud)

或者在IntelliJ IDEA 14中

IntelliJ > Preferences > Appearance & Behavior > Notifications > Spring Configuration Check > No popup
Run Code Online (Sandbox Code Playgroud)

在IntelliJ IDEA 15中,这再次发生了变化:

IntelliJ > Preferences > Editor > Inspections > Deselect Spring checkbox
Run Code Online (Sandbox Code Playgroud)


Grz*_*Żur 8

文件夹应该从搜索,因为它包含编译输出被排除在外.

项目视图中找到bin文件夹,右键单击它,转到标记目录为,单击排除.