PyCharm 2023.3 Help

Specify Code Duplication Analysis Scope

Use this dialog to launch the search for duplicated code fragments in the specified scope.

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 and define the scope in the Scopes dialog that opens.

Inspect injected code

Inspect pieces of code in other languages embedded in your code.

Last modified: 07 March 2024