IntelliJ IDEA 13.1.0 Web Help

File | Settings | Project Settings | Inspections


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:

Profiles Management

Item Description
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. 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.

Current Profile Toolbar

Item Shortcut Description
expandAll.png or or or or or or or or or or or or Click this button to have all inspection nodes expanded.
collapseAll.png or or or or or or or or or or or Click this button to have all inspection nodes collapsed.
rollback Click this button to abandon the modifications and have the current profile reset to defaults.
resetProfile.png Click this button to have all the check boxes of the profile cleared and thus disable all the profile inspections.
lock.png Click this button to lock the current profile and prevent any changes to it if IntelliJ IDEA is updated and new inspections appear. You can only change such profile manually.

Scopes Toolbar

Item Shortcut Description
add.png Click this button to specify the scope for the selected inspection.


If an inspection is enabled and no scope is specified for it, the inspection is applied to all project sources.

delete.png or , or , or , or Click this button to delete the selected scope for the current inspection.
arrowUp.png arrowDown.png Use these buttons to arrange the order of scopes for the selected inspection.

Search Area

Item Description
find1.gif Use this text box to search through the list of inspections. As you type a search string, the matching inspections are highlighted. To finalize the search, press . The used search strings are memorized in the history list.
clear.png Click this button to clear the search history.

Inspection Severity

Item Description
Description This read-only field shows the description of the selected inspection.


This area is only available when the check box next to the desired inspection is selected.

Use the controls in this area to configure the inspection severity, and the other options, if they are available.
  • Severity: from this drop-down list, select the desired severity to assign to the current inspection. The default options are:
    • As typo
    • As server problem
    • As info
    • As warning
    • As error
  • browseButton.png - click this button to open the Severities Editor dialog box, where you can change the color scheme of the selected severity, add and delete severity levels, and change their priority by re-arranging them in the list.
  • Additional options for individual inspections.


    In the PHP context, the Undefined field and Undefined method inspections may erroneously report severe problems when actually no problems take place. This happens when you attempt to access a property or to assign a value to a property that is not explicitly defined while the referenced class contains the _get() or _set() magic methods. No error should be reported because these methods are invoked every time an undefined property is referenced, however, IntelliJ IDEA still treats them as errors or warnings, depending on the severity you have specified for the inspection in general.

    To suppress reporting errors in such cases, re-configure the inspection severity. To do that, open the Inspections page of the Settings dialog box, click the inspection name in the list and select the Downgrade severity if __magic methods are present in class check box in the Options area. After that undefined properties in such cases will be indicated one step lower than specified fir inspections in general, by default, Info instead of Warning.

See Also




Web Resources: