July 27, 2017
8:25 p.m.
Hi Denis, you're right, for literal numbers it's been solved in Pharo at least since 3.0, or maybe even 2.0 (by usage of RB AST I guess). That's a major improvment over Squeak which is is certainly where I last encountered the problem.
Still, formatting does mess line breaking/indenting/commenting in literal arrays.
Yes I would love to have a better heuristics. Now we refactored the prettyprinter so it should be easier to play and enhance it.