> What about the handling of comments? The RB or its parser, etc. made *no* > attempt to get them in the correct position as presented to the formatter, > making the effort of creating a formatter fairly pointless.
The new RB has a better representation of where comments are put. Since I personally almost never put comments within the method body, I cannot comment if the formatting of comments has improved. For tools the Smalltalk syntax is a nightmare. A parser can only use heuristics to assign a comment to the right statement. Writing a formatter is even more difficult, because about everything can be nested in everything else. > If that has improved, I will take another look, but my instinct is to ask for > the RB to make a list what it would need to reformat so I can take care of it > myself - it was that bad. That's what RB does (and always did) when you enabled the preference #promptOnRefactoring (which is the default in OB-Refactory). Lukas -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
