- In the inspection settings, select the desired profile. The inspections associated with the profile are displayed in the tree view.
- Select the desired inspection. If the inspection is disabled, select the check box next to it.
- Select the desired severity from the context menu of the inspection or from the Severity selector on the right.
- Note that inspections, whose state is changed relative to the default values, and all their grouping nodes are highlighted with blue.
- Apply changes. The modified inspection will now have the new severity level when this profile is used.
Do one of the following:
- Open the IDE settings and choose , then select the style corresponding to the desired severity level.
select any inspection and click
next to the
and then, in the Severities Editor dialog box that opens, select the desired severity level and click Edit Settings | Colors & Fonts.
- Either way you will see the styles associated with this severity in the Colors and Fonts settings page.
- Configure the color and font styles as necessary and apply changes. The detected issues with the corresponding severity will now be highlighted in the editor with the modified style when the current profile is used.
- In the inspection settings, select any inspection and click Edit Severities next to the Severity selector .
- In the Severities Editor dialog box that opens, click Add .
- Type the name for the new severity in the New Highlight Severity dialog box. The custom severity will be added to the list of severities.
- Specify color and font settings for the new severity using the controls to the right of the list of severities.
to change the priority of the new severity.
You cannot change priorities of the default severity levels or remove them.
- Apply changes. The new severity level will now be available for all inspections within the current profile. You can assign it to specific inspections and get the corresponding code issues highlighted with the specified style in the editor.
- If necessary, you can remove the custom severity level later by selecting it in the Severities Editor dialog box and clicking Remove .