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.

On 20 Mar 2014, at 20:30, Sergi Reyner <[email protected]> wrote:

> 2014-03-20 19:23 GMT+00:00 Esteban Lorenzano <[email protected]>:
> I do not understand what your problem is.
> If is bad indented, you can always reformat. Source formatting is not pharo 
> responsibility but the programmer (unless you use pretty printer, which is 
> not the case).
> 
> Well, that´s not how *I* formatted the code originally. I typed it and then 
> pressed Ctrl+Shift+F, and that´s what I ended up with.  I was expecting just 
> one tab.
> 
> Now, if you tell me that it´s supposed to be indented like that (with three 
> tabs instead of one) by the formatter, then I´ll say nothing else :)
> 
> I´m running #30798.
> 
> Cheers,
> Sergi


Reply via email to