- Select the desired inspection among inspections reported in the left pane of the Inspection tool window.
- Click the button on the toolbar, or just right-click the selected inspection.
- On the submenu, choose the desired suppress action. For example:
For some reasons you may decide to leave as is the parts of your code that are reported as problematic. In this case you can suppress certain inspections for this code in general or for a particular scope. This can be done from the Inspection tool window or "on-the-fly".