IntelliJ IDEA 2020.2 Help

Inspections

File | Settings | Editor | Inspections for Windows and Linux

IntelliJ IDEA | Preferences | Editor | Inspections for macOS Ctrl+Alt+S the Settings/Preferences icon

Inspections settings

Modified inspections are highlighted in blue.

Manage profiles

inspections set profiles png
Profile

Select the name of the profile you want to configure.

Show Scheme Actions
  • Copy to IDE/Copy to Project: create a copy of the selected profile on the project or global (IDE) level.

  • Duplicate: create a copy of the current profile.

  • Rename: rename the profile.

  • Delete: remove a profile. You can only delete custom profiles.

  • Add Description: write some description for the current profile. After you type the text, press Enter it, or Escape to discard.

  • Export: save the current profile to your computer as an XML file.

  • Import Profile: import a previously exported profile.

Toolbar

Inspections toolbar
Search HistorySearch through the list of inspections. Your search requests will be stored.
Filter Inspections

Show the list of available inspections filters.

To reset the applied filter, click the Filter Inspections icon and select the Reset Filter option from the list.

Expand All Ctrl+NumPad +

Collapse All Ctrl+NumPad -

Expand/collapse all inspections.
Reset to EmptyDisable all inspections.

Inspection severity and scopes

ItemDescription
DescriptionThe description of the selected inspection.
Inspection severitySelect the severity level for the current inspection.
Scopes

Select the scope of files to which you want to apply the current inspection.

Click Edit Scopes Order to switch to another dialog, where you can create a new scope or change the order of the existing scopes.

Last modified: 08 May 2020