Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

show all warnings in IntelliJ

In my IntelliJ project, warnings/errors in the currently open file are shown with yellow/red markings in the ruler on the right-hand side of the editor. Is there anywhere I can easily see all errors warnings in the current project? The project is a Grails project, in case that makes any difference.

like image 575
Dónal Avatar asked Jun 12 '09 14:06

Dónal


People also ask

How do I view warnings in IntelliJ?

If you find a warning in a file, you can inspect your entire project, or the necessary scope of files, to ensure that there are no more such warnings in your code base. From the main menu, select Code | Analyze Code | Run Inspection by Name… or press Ctrl+Alt+Shift+I . Type the inspection name in the popup.

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 .

Where are all occurrences in IntelliJ?

Search everywhereFrom the main menu, select Navigate | Search Everywhere or press Shift twice to open the search window. By default, IntelliJ IDEA displays the list of recent files.

How do I highlight errors in IntelliJ?

Configure error highlightingPress Ctrl+Alt+S to open the IDE settings and select Editor | Color Scheme | General. You can also configure highlighting from inspection settings: go to Editor | Inspections, click any enabled inspection, and from the Highlighting in editor list, select Edit Highlighting.


1 Answers

Doesn't the inspector do that? You can create a custom inspector set via "Settings -> Errors -> Inspection profiles" for the yellow warnings.

You can can then run the inspection for all files and then use "group by severity" to separate the warnings and errors out.

No idea if this will work for groovy. It does work kind of like that for java.

like image 132
sal Avatar answered Sep 21 '22 19:09

sal