# Specify Inspection Scope dialog

> **TL;DR**
> `Code | Inspect Code`

![The Specify Inspection Scope dialog](https://resources.jetbrains.com/help/img/idea/2026.2/cl_inspections_scope_dialog.png)

Use this dialog to define the scope for [code inspections](code-inspection.html) and the profile against which the code should be inspected.

Note that the list of scopes varies depending on the project type.

|  Item  | Description |
| --- | --- |
|  Whole project  |  Inspect the whole project.  |
|  File <name>  |  Inspect the file that is currently selected in the Project tool window or opened in the editor.  |
|  Selected files |  Inspect the files that are currently selected in the Project tool window.  |
|  Uncommitted files  |     This scope is only available for the projects under version control.       Inspect only the files that have not been committed to the version control system.     |
| Directory | Inspect the directory that is currently selected in the Project tool window. |
|  Custom scope  |     Inspect a custom scope of files. Select a pre-defined scope from the list, or click ![the Browse button](https://resources.jetbrains.com/help/img/idea/2026.2/app.general.ellipsis.svg) and define the scope in the [Scopes dialog](settings-scopes.html) that opens.      > **Tip:** > Use a special [language](scope-language-syntax-reference.html) to define a scope.    |
| Include test sources | Inspect the test sources included in the analysis scope. |
| Inspect injected code | Inspect [pieces of code in other languages](using-language-injections.html) embedded in your code. |
| Inspection profile |    Select a [profile](customizing-profiles.html) that you want to use to inspect your code.      If the required profile is not in the list, click Configure and create a new profile.     |

## See also

### External Links

[JetBrains CLion Blog](http://blog.jetbrains.com/clion/)

