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.)
Make sure that "Hide Warnings" option is disabled in the Messages panel on the left:
精彩评论