# Inspection profiles

Inspection profiles keep the information about enabled inspections, the [scope of files](configuring-scopes-and-file-colors.html) that these inspections analyze, and inspection [severity](configuring-inspection-severities.html) settings.

In IntelliJ IDEA, there are two types of profiles:

* Profiles Stored in IDE that are global and available in all projects (IDE level).

* Profiles Stored in Project that are available only in one project (project level).

Learn more from [Move profiles between levels](#move-profiles-between-levels).

IntelliJ IDEA comes with two default profiles of each type (Default and Project Default) that you can customize or create new ones. You can also share, import, and export inspection profiles.

When IntelliJ IDEA [analyzes code in the editor](file-and-project-wide-analysis.html#analysis-current-file), it uses the inspections defined in the currently selected inspection profile. Additionally, when you [run inspections in batch](running-inspections.html#run-all-inspections), you can select a different inspection profile.

Procedure: Create a new profile

To create a new profile, copy one of the default profiles and change its settings.

1. Press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open settings and then select `Editor | Inspections`.

You can also press `Ctrl+Alt+Shift+H` (Windows), `⌘ ⌥ ⇧ H` (macOS), `⌘ ⌥ ⇧ H` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ ⇧ H` (macOS System Shortcuts), `Ctrl+Alt+Shift+H` (XWin), `Ctrl+Alt+Shift+H` (GNOME), `Ctrl+Alt+Shift+H` (KDE), `Ctrl+Alt+Shift+H` (Emacs), `Ctrl+Alt+Shift+H` (Sublime Text), `⌘ ⌥ ⇧ H` (Sublime Text (macOS)), `Ctrl+Alt+Shift+H` (NetBeans), `Ctrl+Alt+Shift+H` (Visual Studio), `⌘ ⌥ ⇧ H` (Visual Studio (macOS)), `Ctrl+Alt+Shift+H` (Eclipse), `⌘ ⌥ ⇧ H` (Eclipse (macOS)) and select Configure Inspections.

2. Select the profile that you want to copy, click ![the Show Scheme Actions](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.settings.svg), and select Duplicate.

3. Change the profile name and press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `Enter` (NetBeans), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (Eclipse), `⏎` (Eclipse (macOS)).

![Duplicating a profile](https://resources.jetbrains.com.cn/help/img/idea/2026.2/ij_inspections_new_profile.png)

Procedure: Restore the default profile configuration

You can restore the default inspection settings: inspections enabled by default and their severity levels.

1. Press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open settings and then select `Editor | Inspections`.

You can also press `Ctrl+Alt+Shift+H` (Windows), `⌘ ⌥ ⇧ H` (macOS), `⌘ ⌥ ⇧ H` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ ⇧ H` (macOS System Shortcuts), `Ctrl+Alt+Shift+H` (XWin), `Ctrl+Alt+Shift+H` (GNOME), `Ctrl+Alt+Shift+H` (KDE), `Ctrl+Alt+Shift+H` (Emacs), `Ctrl+Alt+Shift+H` (Sublime Text), `⌘ ⌥ ⇧ H` (Sublime Text (macOS)), `Ctrl+Alt+Shift+H` (NetBeans), `Ctrl+Alt+Shift+H` (Visual Studio), `⌘ ⌥ ⇧ H` (Visual Studio (macOS)), `Ctrl+Alt+Shift+H` (Eclipse), `⌘ ⌥ ⇧ H` (Eclipse (macOS)) and select Configure Inspections.

2. Select the necessary profile from the list, click ![the Show Scheme Actions icon](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.settings.svg) and select Restore Defaults.

## Move profiles between levels

In IntelliJ IDEA, inspection profiles can be stored at two levels:

* Profiles Stored in IDE are saved to the `inspection` folder in the IntelliJ IDEA [configuration directory](directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#config-directory) and are accessible across all projects. While they cannot be shared via VCS, you can copy them to the project level to share them with your team.

* Profiles Stored in Project are saved to the `inspectionProfiles` folder in the `.idea` directory and are specific to a single project. Unlike IDE-level profiles, project-level profiles can be shared with team members via VCS.

Procedure: Copy an IDE profile to the project level

You can copy an IDE profile to the project using the Copy to Project option. This allows you to share the profile via VCS or create a project-specific inspection profile.

1. Press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open settings and then select `Editor | Inspections`.

2. From the Profile drop-down list, select the profile you want to copy, then click ![the Show Scheme Actions](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.settings.svg) and select Copy to Project.

3. Name the new profile and press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `Enter` (NetBeans), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (Eclipse), `⏎` (Eclipse (macOS)) to save the changes.

After that, the new profile appears in the Commit tool window (`Alt+0` (Windows), `⌘ 0` (macOS), `⌘ 0` (IntelliJ IDEA Classic (macOS)), `⌘ 0` (macOS System Shortcuts), `Alt+0` (XWin), `Alt+0` (GNOME), `Alt+0` (KDE), `Alt+0` (Emacs), `Alt+0` (Sublime Text), `⌘ 0` (Sublime Text (macOS)), `Alt+0` (NetBeans), `Alt+0` (Visual Studio), `Alt+0` (Visual Studio (macOS)), `Alt+0` (Eclipse), `⌘ 0` (Eclipse (macOS))).

Procedure: Copy a project profile to the IDE level

You can copy a project profile to the IDE level using the Copy to IDE option. By doing so, you can use the profile in all projects that you work with in this IDE instance.

1. Press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open settings and then select `Editor | Inspections`.

2. From the Profile drop-down list, select the project profile you want to copy, then click ![the Show Scheme Actions](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.settings.svg) and select Copy to IDE.

3. Name the new profile and press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `Enter` (NetBeans), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (Eclipse), `⏎` (Eclipse (macOS)) to save the changes.

After that, the new profile becomes available in all projects that you open in the current IDE instance.

## Synchronize profiles between computers

### Share project-level profiles

Profiles stored in the project are kept together with other project configuration files and are shared through VCS. That is why, after you configure a new project profile and share it with other members of your team, this profile will be automatically propagated to their projects after they check out the project from version control.

### Share IDE-level profiles

If you want to share profiles stored in the IDE, you can use one of the following methods:

* Use the Backup and Sync plugin to [synchronize profiles and their settings](sharing-your-ide-settings.html#IDE_settings_sync) between IDEs.

* Manually [export profiles from one IDE and import them](#export-and-import-a-profile) into another IDE.

Procedure: Export and import a profile

To share a profile, you can also export it and then import it on another computer.

1. Press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open settings and then select `Editor | Inspections`.

2. Click ![the Show Scheme Actions icon](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.settings.svg) and select Export.

3. To import a profile, click ![the Show Scheme Actions icon](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.settings.svg) and select Import Profile.

4. Specify the path to the profile and click Open.

## See also

### Procedures

[Code inspections](code-inspection.html) [Scopes and file colors](configuring-scopes-and-file-colors.html)

