How do I treat warnings as errors that will prevent compilation in Intellij? I figured out how to change the inspection severity to error, and that will underline the problem in red, but compilation still succeeds. And also it doesn't show any red underlines in the project view like a normal error does.
There is a request for such a feature: http://youtrack.jetbrains.com/issue/IDEA-78625 Please vote for it.
IntelliJ can't change the rules that govern the compiler; the red-yellow-green is intended to influence your behavior.
Only proceed if IntelliJ shows green; ask your teammates to do so as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With