It is currently not possible to preserve the original formatting with
the "extract method" refactoring, since the refactoring causes quite
significant changes in two methods. You can however fine-tune the way
the refactoring engine should format code in such cases in the setting
browser.
Lukas
On 15 July 2010 23:44, Pat Maddox <
[hidden email]> wrote:
> The extract method refactoring works great but always formats my code in a way that I hate. It indents certain things way too much, adds parens where I don't want them, etc. Is there a way for it to preserve my formatting? I wrote the code to be nice and readable to me, and I'd like to keep it that way.
>
> Pat
>
> _______________________________________________
> Pharo-users mailing list
>
[hidden email]
>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users>
--
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users