[Cuis-dev] Extract Method Enhancements

Juan Vuletich juan at jvuletich.org
Tue Sep 7 08:32:58 PDT 2021


On 9/5/2021 11:19 PM, Hernan Wilkinson via Cuis-dev wrote:
> 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 Wilkinson
>
>
>     Software Developer, Teacher & Coach
>
> Alem 896, Floor 6, Buenos Aires, Argentina
>
> +54 11 6091 3125
>
> @HernanWilkinson
>

It is now at GitHub.

Thank you!

Cheers,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210907/89980886/attachment.htm>


More information about the Cuis-dev mailing list