Duplicated code inspection

I'm interested in implementing the duplicated code functionality in recent IntelliJ versions, where the duplicates are marked in the editor in real time. What's required to accomplish this? I can see various classes like DuplicatesInspectionBase, DuplicatedCodeProcessor etc but none of these seem to be language specific.

1 comment
Comment actions Permalink

We have no stable and final API - there are many compromises in speed vs precision and we evaluating current (3rd) implementation.
You take a look for it starting from LightDuplicateProfile and its implementation.


Please sign in to leave a comment.