Duplicated code fragment
Reports duplicated blocks of code from the selected scope: the same file or the entire project.
The inspection features quick-fixes that help you to set the size of detected duplicates, navigate to repetitive code fragments, and compare them in a tool window.
The inspection options allow you to select the scope of the reported duplicated fragments and set the initial size for the duplicated language constructs.
Show duplicates from
Skip duplicates simpler than: | units
AppCode 2023.3, CLion 2023.3, DataGrip 2023.3, GoLand 2023.3, IntelliJ IDEA 2023.3, PhpStorm 2023.3, PyCharm 2023.3, Qodana for JS 2023.3, Qodana for JVM 2023.3, Qodana for PHP 2023.3, Qodana for Ruby 2023.3, RubyMine 2023.3, WebStorm 2023.3
IDEA CORE, 233.SNAPSHOT