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 <patmaddox@me.com> 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 Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
-- Lukas Renggli www.lukas-renggli.ch