How do I always view a list of compiler warnings in IntelliJ IDEA?

Viewed 1282

I'm on IntelliJ IDEA 2017.2.6, wholly new to Java, so I apologize if this question is trivial or misguided.

From my days of Visual Studio, I'm expecting to see a clear list of errors and warnings (regardless whether the compilation succeeded or not), but instead what I see are "Information" messages, and only after manually opening the Messages pane. I do see warnings highlighted in code, which I can mouseover and expand, but I'm wondering why I don't see a consolidated list somewhere.

enter image description here

I searched around and covered all the basics I think—I found out that Alt+0 brings up the Messages pane, I verified that "Hide Warnings..." was untoggled, etc. I tried checking the "Build project automatically" setting as well.

Regardless, I just don't see an intuitive list of warnings. What am I missing? Perhaps I'm looking for something obsolete, and I should get with a new workflow?


Edit

Okay, I've found what I'm looking for by going to Analyze > Inspect Code...

Once inspected, I can reopen the Inspection Analysis from the Tool Windows menu.

I guess the refined question is: Is there a way to always inspect code along with building?

Any insight as to why it's not that way by default?

2 Answers

For now I went to File > Settings > Keymap and

  1. mapped Main > Analyze > Inspect Code... to Alt+I, and
  2. mapped Tool Windows > Inspection Results to Alt+Shift+0.

Not sure how to force Build to do this automatically.

Leaving this question open in case someone has a better answer / suggestion for workflow.

Related