[Cuis-dev] Extract Method Enhancements

Hernan Wilkinson hernan.wilkinson at 10pines.com
Sun Sep 5 19:19:36 PDT 2021


Hi all!
 attached is a cs that enhances the extract method refactoring with its
tests.
 With this version if the code to extract is in other places in the same
method, other methods of the class or other methods in the hierarchy, it
shows you all those potential places to extract the selected code too. You
can choose those to replace.
 Looking for other places to extract the code uses string comparison, so
the exact same code is suggested to extract, not the same pattern.

 Cheers!
 Hernan.

-- 
<https://10pines.com/>Hernán WilkinsonSoftware Developer, Teacher & Coach

Alem 896, Floor 6, Buenos Aires, Argentina

+54 11 6091 3125

@HernanWilkinson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210905/ae2ec09b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UnsavedChangesTo-BaseImageTests-HAW.011.cs.st
Type: application/octet-stream
Size: 19691 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210905/ae2ec09b/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4840-ExtractMethodEnhancement-HernanWilkinson-2021Aug25-15h32m-HAW.001.cs.st
Type: application/octet-stream
Size: 44753 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210905/ae2ec09b/attachment-0003.obj>


More information about the Cuis-dev mailing list