Use this page to customize inspection profiles, configure inspection severities, disable and enable inspections, and configure inspections for different scopes. The page is divided into the following areas:
|Profile||From this drop-down list, select the name of the profile to configure. All modified inspections are highlighted.|
|Share profile||Select this check box to make the selected profile available for your team, i.e to make it the project-level profile. The settings of the profile are passed to XML file that is located in the <project>/.idea/inspectionProfiles directory. The profile then can be shared between your team members or you can commit the profile to VCS. If you create IDE-level profile for your own purposes, make sure that this check box is cleared.|
|Add||Click this button to create a new profile. The profile is created based on the Default profile, on the IDE level.|
|Copy||Click this button to create a new profile with the specified name, based on the current profile.|
|Delete||Click this button to delete the current profile. The pre-defined profiles cannot be deleted.|
|Import||Click this button to import a profile from an xml file.|
|Export||Click this button to export the selected profile as an xml file.|
|Description||This read-only field shows the description of the selected inspection.|
|Inspection severity||From this drop-down list, select the desired severity to assign to the current inspection.
The possible options are:
|Scopes||Click this drop-down list to reveal the list of available scopes:
Clicking a scope in the list results in showing the scopes toolbar:
Choosing the option Edit Scopes Order results in showing the Scopes Order dialog box, where one can change the order of scopes using the up and down arrows ( ) or keyboard shortcuts (Alt+UpAlt+UpAlt+UpAlt+UpAlt+Up or Ctrl+Alt+AAlt+UpCtrl+Alt+UpCtrl+Shift+UpControl UpControl UpControl Alt Up/Alt+DownAlt+DownAlt+DownAlt+DownAlt+Down or Ctrl+Alt+EAlt+DownCtrl+Alt+DownCtrl+Shift+DownControl DownControl DownControl Alt Down).4.0+
It is possible to select several inspections and add/remove scopes for the entire selection.
This area is only available for certain inspections, when the check boxes next to the desired inspections are selected.
|Options||Use the controls in this area to configure additional options, if they are available.|