Why is the "Eliminate duplicates" button is always greyed out?

When I find duplicate Java code blocks using "Locate Duplicates...", the "Eliminate duplicates" button is always greyed out.  What do I have to do to make it functional?  I am using IntelliJ IDEA v12.0.1.

0

Hi,
the functionality works with java only, moreover it can suggest to replace one method body with call to another method, Otherwise IDEA would ask to extract method, choose appripriate class to put method in and delegate, so this was disabled.
Thanks

0

请先登录再写评论。