Why is Intellij showing a cross (x) over the class

2019-01-17 09:13发布

The icon that IntelliJ (v11.1) usually shows next to Java classes is a blue circle with a C. But for one of my classes this icon has a small "x" in the top left corner. This particular class is in a package with another class, which has just the usual C in a blue circle.

In case it matters, I'm using a Mac.

The class in question is AlertsHandler.

enter image description here

1条回答
Explosion°爆炸
2楼-- · 2019-01-17 09:54

This icon shows that the class is excluded from the compilation, it can be changed in Settings (Preferences on Mac) | Compiler | Excludes.

查看更多
登录 后发表回答