Specify Code Duplication Analysis Scope
Use this dialog to launch the search for duplicated code fragments in the specified scope.
Item | Description |
---|---|
Whole project | Select this option to perform the analysis for the whole project. |
File <name> | Select this option to analyze the file that is currently selected in the Project tool window or opened in the editor. |
Selected files | Select this option to analyze the files that are currently selected in the Project tool window. |
Uncommitted files | This scope is only available for the projects under version control. Select this option to have PyCharm analyze only files that have not been committed to the version control system. Use the list to further limit the analysis scope. The available options are:
|
Custom scope | Select this option to use a custom scope. Select a pre-defined scope from the list, or click and define the scope in the Scopes dialog that opens. |