On 29/12/14 08:54, stepharo wrote:
Le 19/11/14 15:19, Nicolai Hess a écrit :
2014-11-19 14:55 GMT+01:00 Marcus Denker
<[email protected]
<mailto:[email protected]>>:
On 19 Nov 2014, at 14:47, Peter Uhnák
<[email protected]
<mailto:[email protected]>> wrote:
how Pharo source code is formatted
One could argue that this is equivalent to the default settings
of Pharo formatter.
Which is not good… e.g. it always adds too many line breaks…
Marcus
If we can agree on source code guidelines, we should change the
default settings of the Pharo formatter accordingly.
Yes I would love that. I nearly like the default formatter except that
sometimes it creates too
many line breaks.
I'm still missing the RB based formatter in Dolphin. It's comparable to
the Pharo one (layout wise) but created less "line-break-noise" :-)
It should be easy create an RBFormatter with the same settings in
Dolphin to. But the current format didn't yet annoy me enough to
transfer it.
What we could do is to build a sample and go over it.
Ideally I would like to have formatting as you type :).
Even something simple like automatic "format-on-save" (optionally) would
help IMHO.
Especially as the format hotkey doesn't work reliably on Mac OS X -
still have to chase why.
And concretely I would like to format all the code. I'm doing that when
I change something.
CU,
Udo