- Open the inspection settings.
- Select the desired profile from the drop-down list. The inspections associated with the profile are displayed in the tree view.
- Select the desired inspection and click the Add button on the toolbar.
- In the Choose Scope dialog box that opens select the area to apply the inspection to.
You can configure custom scopes in the Scopes dialog box, in addition to default ones, like production, tests, etc.
- Apply the changes and close the dialog box.