<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Nice!<br>
    <br>
    Cheers,<br>
    <br>
    On 7/20/2023 9:25 AM, Hernán Wilkinson via Cuis-dev wrote:
    <blockquote
cite="mid:CAGgF3Gxc5eT=VG=Rg3RhOvNONNxZmb0u7uBXzXjBftfDsnd4Zw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div> just to let you know that we just pushed two improvements
          in the Extract Method refactorings:</div>
        <div>1) You can rename a formal argument when it asks you for
          the selector name. For example, example if you have this code:</div>
        <div>m1</div>
        <div> | a b |</div>
        <div> a := 1.</div>
        <div> b := 2.</div>
        <div> a / b <--- you select this to extract</div>
        <div><br>
        </div>
        <div>
          <div>It will propose as a selector and argument names the
            following: "m1: a m2: b"</div>
          You can rename the name of the formal arguments, for example
          to "m1: dividend m2: divisor". The code will look like this:</div>
        <div>
          <div>m1</div>
          <div> | a b |</div>
          <div> a := 1.</div>
          <div> b := 2.</div>
          <div> self m1: a m2: b</div>
          <div><br>
          </div>
          <div>m1: dividend m2: divisor</div>
          <div>  ^dividend/divisor</div>
          <div><br>
          </div>
          <div>Remember that you can also change #m1: and #m2: to for
            whatever you need.<br>
          </div>
        </div>
        <div><br>
        </div>
        <div>2) You can reorder the actual arguments keeping the
          proposed names. Using the same example as in 1), it will
          propose "m1: a m2: b", but you can change the order of the
          arguments keeping its names like this: "m1: b m2: a" </div>
        <div>The code will look like this:</div>
        <div>
          <div>m1</div>
          <div> | a b |</div>
          <div> a := 1.</div>
          <div> b := 2.</div>
          <div> self m1: b m2: a</div>
          <div><br>
          </div>
          <div>m1: b m2: a</div>
          <div>  ^a/b</div>
          <div><br>
          </div>
          <div>Reordering and renaming arguments can not be done at the
            same time, you either reorder them (keeping the names) or
            rename them. </div>
          <div><br>
          </div>
          <div>I hope you like it!</div>
          <div>Thank you Paula for the renaming arguments code :-)</div>
          <div><br>
          </div>
          <div>Cheers!</div>
          <div>Hernán.</div>
          <div><br>
          </div>
          <span class="gmail_signature_prefix">-- </span><br>
          <div dir="ltr" class="gmail_signature"
            data-smartmail="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div style="font-size: small;">
                    <div dir="ltr">
                      <div dir="ltr">
                        <div style="font-size: 12.8px;"><span
                            style="font-family: tahoma,sans-serif;
                            font-size: xx-small; border-collapse:
                            collapse;"><strong><span style="font-size:
                                8pt;"><span style="font-size: small;"><font
                                    size="2"><span style="font-weight:
                                      normal;"><span style="font-weight:
                                        bold;">Hernán Wilkinson</span><br>
                                      Agile Software Development,
                                      Teaching & Coaching</span></font></span></span></strong></span></div>
                        <div style="font-size: 12.8px;"><span
                            style="font-family: tahoma,sans-serif;
                            font-size: xx-small; border-collapse:
                            collapse;"><strong><span style="font-size:
                                8pt;"><span style="font-size: small;"><font
                                    size="2"><span style="font-weight:
                                      normal;">Phone: +54-011</span></font></span></span></strong></span><font
                            size="2" face="tahoma, sans-serif">-4893-2057</font></div>
                        <div style="font-size: 12.8px;"><strong
                            style="font-family: tahoma,sans-serif;
                            font-size: xx-small;"><span
                              style="font-size: 8pt;"><span
                                style="font-size: small;"><font size="2"><span
                                    style="font-weight: normal;">Twitter:
                                    @HernanWilkinson</span></font></span></span></strong></div>
                        <div style="font-size: 12.8px;"><span
                            style="font-family: tahoma,sans-serif;
                            font-size: xx-small; border-collapse:
                            collapse;"><strong><span style="font-size:
                                8pt;"><span style="font-size: small;"><font
                                    size="2"><span style="font-weight:
                                      normal;">site: <a
                                        moz-do-not-send="true"
                                        href="http://www.10pines.com/"
                                        style="color: rgb(17, 65, 112);"
                                        target="_blank">http://www.10Pines.com</a></span></font></span></span></strong></span></div>
                        <div style="font-size: 12.8px;"><font
                            face="tahoma, sans-serif"><span
                              style="border-collapse: collapse;">Address:
                              Alem 896</span></font>, Floor 6, Buenos
                          Aires, Argentina</div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
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</pre>
  </body>
</html>