[Development] White space / coding style patches welcome?
Oswald Buddenhagen
oswald.buddenhagen at digia.com
Fri Mar 15 13:39:03 CET 2013
On Fri, Mar 15, 2013 at 12:11:00AM -0700, Thiago Macieira wrote:
> On sexta-feira, 15 de março de 2013 04.16.46, Axel Waggershauser wrote:
> > 2 a) I found a place with 8 spaces indent but QtCreator would indent
> > it further to 12 so that the following 'Q' aligns with the 's'
> >
> > viewport()->setFlag(
> > ............QGraphicsItem::ItemClipsChildrenToShape, true);
>
> I'd have indented to inside the (...
>
the automatic indenters typically have a column threshold implemented to
decide the style. so
asdfasdf.asdfafds(asdfasdfasd, adfasdfasdf, fasdfasdfas,
asdfasdfasd, asdfasdfasd);
but
asdfasdfasdfas.adsfasdfasd.asdfasdfasdf.asdfasdfadfs(
asdsafasdfa, sdfasdfasdf, adfasdfasd, asdfasdfasdf,
asdfasdfasdf, asdfasdfasd, asdfasdfasdf);
otherwise one ends up with ridiculously-looking "cliffs".
More information about the Development
mailing list