<div dir="ltr">Hi all!<br><div> I just pushed a new refactoring with its tests to github: Extract as Parameter.</div><div> With this refactoring you can select code in the method that you want to get as a parameter. So, basically it is the same as the Add Parameter but it uses the selected code as the parameter value to use in the senders.</div><div> You can execute it by pressing cmd+1 or with the option "Extract as Parameter" from the "More Refactoring" option of the editor menu.</div><div><br></div><div> The code that can be extracted as parameter are literals, messages sent to literals and with literals as parameters, and blocks with the previous conditions.</div><div><br></div><div>Cheers!</div><div>Hernan.</div><div><br></div></div>