Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the error list in Intellij IDEA?

I used to develop a habit in Eclipse to use Error List to check errors and warnings. Is there something like that in IntelliJ IDEA? I don't see it.

like image 213
Eugene Avatar asked Jun 18 '12 21:06

Eugene


People also ask

Why my IntelliJ is not showing errors?

To access this Problems panel, you must set your project to build automatically. Check the box for Preferences / Settings > Build, Execution, Deployment > Compiler > Build project automatically .

How do I fix build errors in IntelliJ?

Invalidate Caches/Restart. Delete user config. Create a new project (trying to see if my current project files somehow all got messed up, but the problems persist even with new projects) Uninstall + Reinstall.

How do I see compile time error in IntelliJ?

Show all errors in one place:The Problems tool window appears if the Make project automatically option is enabled in the Compiler settings. It shows a list of problems that were detected on project compilation.


2 Answers

Eclipse incrementally builds the whole project all the time and finds all compilation errors even in classes you haven't touched/opened at all.

IntelliJ is not building your whole code base upon every change so there is no such view. The closest you can get is Messages view (available under Alt + 0) but it only shows compilation errors discovered when a file with errors was physically opened (or when the whole project was built).

UPDATE

IntelliJ IDEA 12 will most likely have incremental compilation feature:

Currently supported: incremental compilation of Java, Groovy, resource copying, UI Designer forms, Artifacts, Android, annotation processing, not-null instrumentation

like image 110
Tomasz Nurkiewicz Avatar answered Sep 28 '22 09:09

Tomasz Nurkiewicz


It's also possible to look at tiny red stripes on the scrollbar to find where the errors in a file are located (they couldn't make it less convenient to use :/)

like image 41
user1414213562 Avatar answered Sep 28 '22 10:09

user1414213562