How to get Intellij Idea to display compilation warnings?

Tommi picture Tommi · Jan 20, 2011 · Viewed 41.7k times · Source

I'm working with Intellij Idea 10 and Java 6 JDK Update 7. When I run Build --> Rebuild Project command, and the (javac) compilation generates warnings, Idea doesn't display what those warnings exactly are in the Messages view. I just see an "Information: XX warnings" node, but no way to expand it to see the actual warnings. Or I just see a message "Compilation completed successfully with XX warnings" on the status bar. For errors, Idea displays the error information (error message, filename, line number etc.) automatically. How can I get it to work similarly with warnings?

(For the record, I've already tried using additional command line parameters such as -Xlint, but it does not make a difference.)

Answer

CrazyCoder picture CrazyCoder · Jan 20, 2011

Make sure that "Hide Warnings" option is disabled in the Messages panel on the left:

Hide Warnings