When extracting a method, IDEA attempts to find similar pieces of code that
can be replaced with an invocation to the new method. This is great. However,
if there are similar pieces of code that have different comments IDEA fails
to recognize them as being the same stuff. Is this by design? If so, can
we have an option to ignore the comments when looking for duplicate code
I'll create a jira request if you find it worthwhile (and if there isn't
one there already).