WebStorm 2018.2 Help

Specify Code Duplication Analysis Scope

Code | Locate Duplicates


Use this dialog box 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.

Module <name>

Select this option to have WebStorm analyze the module that is currently selected in the Project tool window.

File <name>

Select this option to have WebStorm analyze the file that is currently selected in the Project tool window or opened in the editor.

Custom scope

Select this option to define a custom scope to apply analysis to. Choose a pre-defined scope from the drop-down list or click Browse browseButton and define a custom scope using the Scopes dialog box.

Include Test Sources

Select this check box to perform analysis on the test sources.

Last modified: 19 November 2018

See Also