Thanks, it makes a difference indeed, but it does not yet quite solve it. I would want the contents of the #with: block to be treated the same as for example inside an #ifTrue:ifFalse: with just one tab (level) more. I just don't understand why it is different. On 20 Mar 2014, at 20:47, Sergi Reyner <sergi.reyner@gmail.com> wrote:
2014-03-20 19:38 GMT+00:00 Sven Van Caekenberghe <sven@stfx.eu>: I have been using the auto formatter with Seaside rendering code too, and I found it weird at times as well. The problem seems to be related to blocks. It is of course hard to argue with something automatic that is quite complex and over which there are many opinions. I have basically given up to worry about it and just accept it. It is either that or manual formatting, but that is hard when doing lots of source code refactorings.
I just found out that adding #with: to the array in the 'Multi line messages' setting reduces the number of tabs to 2, which is somewhat more acceptable. I´m not sure about it breaking some other formatting or not. I guess I will find out it that´s the case :)
Cheers, Sergi