I'm using Intellij version 8. How can I view the warnings or errors for an entire project?
Find and replace code duplicatesFrom the main or context menu, select Refactor | Find and Replace Code Duplicates. In the dialog that opens, select the scope where IntelliJ IDEA shall look for code duplicates. For each found code duplicate, IntelliJ IDEA will prompt you to confirm the replacement.
Click the widget to open the list of problems on the Current File tab of the Problems tool window. You can also access the Problems tool window by selecting View | Tool Windows | Problems or by pressing Alt+6 .
Duplicate code can be hard to find, especially in a large project. But PMD's Copy/Paste Detector (CPD) can find it for you! CPD works with Java, JSP, C/C++, C#, Go, Kotlin, Ruby, Swift and many more languages. It can be used via command-line, or via an Ant task.
UPDATE: See this answer which is up to date. The original answer here was for older IDEA version when there was no automatic compilation and the Problems view.
I had a similar situation, wanting to view all warnings and errors in RubyMine / IntelliJ IDEA in a single collective space.
The link above was helpful. For the lazy, here are the steps:
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