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.

0

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.

0

请先登录再写评论。