[Cuis-dev] Extract method fix
Juan Vuletich
juan at cuis.st
Fri Jun 13 11:50:37 PDT 2025
On 6/13/2025 10:18 AM, Hernán Wilkinson via Cuis-dev wrote:
> Hi,
> currently the extract method refactoring does not recognize same
> blocks as repeated code. For example:
> m1
> [ 1+2 ].
> [ 1+2 ].
>
> If one [ 1+2 ] is selected to extract, the other [ 1+2 ] will not be
> recognized as repeated.
> The attached .cs fixes this problem. It also includes a test for the
> case.
>
> Cheers!
> Hernan
>
> --
> *Hernán Wilkinson
> Agile Software Development, Teaching & Coaching*
> *Phone: +54-011*-4893-2057
> *Twitter: @HernanWilkinson*
> *site: http://www.10Pines.com <http://www.10pines.com/>*
> Address: Alem 896, Floor 6, Buenos Aires, Argentina
Integrated.
Thanks,
--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250613/c91787f2/attachment-0001.htm>
More information about the Cuis-dev
mailing list