Groovy extract method dialog doesn't prompt afterwards to eliminate duplicates



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 (  

Is there something I am missing?



Please sign in to leave a comment.