Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ list of warnings

When I do a version control commit in IntelliJ, it generates a convenient list of code warnings in the Messages tab. How do I regenerate this list without doing a commit? I'm not interested in all inspection messages, I'm only interested in those warning messages which would be displayed during the commit.

like image 995
kat Avatar asked Oct 17 '11 19:10

kat


People also ask

How do I see 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.

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.

How can I see compile errors 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.


1 Answers

Can't you just make a custom inspection profile with the stuff you want (I have 5 different profiles that I choose between depending on what I want to check)?

Analyze -> Inspect Code -> Inspection profile -> ...

or

File -> Settings -> Editor -> Inspections

like image 178
osundblad Avatar answered Sep 22 '22 21:09

osundblad