- In the Inspection tool window, select the inspection you want to disable.
- On the context menu, choose Disable inspection.
- Press the filter button to hide the disabled inspection alerts.
If you think that some inspections report about the problems that do not seem serious, you can disable alerts for these inspections in the profiles you use to inspect your code.
You can temporarily disable alerts for certain inspections in the Inspection tool window, and thus clear the results report from unnecessary information.
Another option is to disable alerts "on-the-fly".