PyCharm
 
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

Scope

Last modified: 11 February 2024

A scope the Scope icon is a subset of files, packages and directories in your project, to which you can limit the application of specific operations, for example search, code inspection, etc . Besides, you can configure coloring for each scope to see at once what sort of file you are dealing with.

Scopes get more helpful as your project grows larger. There is a number of predefined scopes that cover basic cases. Additionally, it is possible to add custom scopes to your project. For example, you can create custom scopes for tests or for the files you are responsible for in your team.