Accessing Inspection Settings
To access inspections and profiles settings, do one of the following
Open the Settings / Preferences Dialog by pressing Ctrl+Alt+S or by choosing for Windows and Linux or for macOS, and click Inspections under Editor.
On the main toolbar, click , then expand the Editor node, and click Inspections.
Click the current profile icon in the Status bar and then click the Configure inspection link.
In the editor, open the suggestion list, click the right arrow, and chooseon the submenu.
In the Inspection Results Tool Window, click Edit Settings on the toolbar or use the corresponding context menu command.