Login  Register

Re: How to make "extract method" preserve my formatting?

Posted by Carla F. Griggio on Jul 15, 2010; 9:53pm
URL: https://forum.world.st/How-to-make-extract-method-preserve-my-formatting-tp2290722p2290731.html

Hi Pat,

I'm sorry, I'm not answering your question because I have no idea about that :P
But I'm interested in what do you consider readable code, would you give some examples contrasting to the formatting Pharo would choose? Sometimes I prefer my own formatting too.

Cheers!
Carla.

On Thu, Jul 15, 2010 at 6:44 PM, 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


_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users