Groovy extract method dialog doesn't prompt afterwards to eliminate duplicates
Answered
Hello,
I am using IDEA 2016.2 to refactor some groovy code. First I analyze:locate duplicates and find some duplicate code within a file with "No differences." Then, I select one of the duplicates and run refactor:extract method and specify a name. This extracts the code to a new method, however it does not then prompt me to also replace the duplicate code with the new method as the help says it should (https://www.jetbrains.com/help/idea/2016.1/extracting-method-in-groovy.html#d205221e27).
Is there something I am missing?
Thanks,
Jason
Please sign in to leave a comment.
Please vote for https://youtrack.jetbrains.com/issue/IDEA-79229.