Tommi
Tommi

Reputation: 8608

How to get Intellij Idea to display compilation warnings?

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.)

Upvotes: 53

Views: 45007

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 402581

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

Hide Warnings

Upvotes: 43

Related Questions