Search code examples
javaintellij-ideacode-inspection

How to set inspection profile for the editor in IntelliJ?


I'm suddenly missing a lot of in-editor warnings and errors. When I manually run my inspections, the things I'm missing show up just fine, but how do I get them to show in the editor window again?

For example, if I put an incorrect package statement in my class, it will show up when I run Analyze -> Inspect Code..., but not the editor window won't complain or offer a quick fix.


Solution

  • Here you can access all settings of intellij code inspection

    code inspection inttelij

    When you run "Analyze -> Inspect Code" the IDE will effectively not do any highlight. Be sure that in the code inspection, the highlight level is on "inspections" or at least on "syntax" as Matthew mentioned