This plugin is created in order to ease detecting duplications in source
It is available at http://www.intellij.org/twiki/bin/view/Main/SamePlugin.
It is based on open source tools for finding duplications same
<http://www.sf.net/projects/same> by Marnix Klooster
Usage - select "Find Duplications" under "Code inspection".
After some time the pane with tabs "Statistics", "Tree of matches" and
"Table of matches" will appear.
In tree of matches you can browse files, that has duplications,
Table of matches provides alternative view, describing characteristics
of duplications - length, frequency and maximum possible gain from
removing a duplication. You can perform sorting by this characteristics,
from popup menu on header of table.
In order to run plugin on bigger projects, it is recommended to increase
memory from default idea settings.