Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View Errors in Intellij Project [duplicate]

I'm using Intellij version 8. How can I view the warnings or errors for an entire project?

like image 877
AEIOU Avatar asked Oct 29 '09 16:10

AEIOU


People also ask

How do I find duplicates in IntelliJ?

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.

How do I see all errors in IntelliJ?

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 .

How do I find duplicate codes?

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.


2 Answers

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.

like image 80
CrazyCoder Avatar answered Oct 14 '22 12:10

CrazyCoder


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:

  1. Install the Eclipse Mode plugin via Settings | Plugins
  2. Use this in combination with the "Scope / Problems" mode of the Project View
like image 22
user456584 Avatar answered Oct 14 '22 12:10

user456584