IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Change inspection severity

Last modified: 10 August 2022

Inspection severity levels indicate how seriously the detected code problems affect your project. Every severity level has its own highlighting style. In IntelliJ IDEA, there is a set of predefined severity levels:

  • Error icon Error: marks syntax errors.

  • Warning icon Warning: marks code fragments that might produce bugs or require enhancement.

  • Weak Warning icon Weak Warning: marks code fragments that can be improved or optimized (redundant code, duplicated code fragments, and so on).

  • Server problem icon Server Problem: marks problems that come from an external build server, for example, from TeamCity.

  • the Typo icon Typo: marks spelling and grammar mistakes.

  • No highlighting, only fix: provides no code highlighting; the list of available fixes is invoked by pressing Alt+Enter.

Severity levels are designed to indicate problems, they don't have any impact on the code execution: if you change the severity for spelling mistakes from Typo to Error, this won't affect the execution of your application.