On 2/28/2011 5:57 PM, Adam Kennedy wrote: > I hate Perl::Tidy quite a bit, but I accept that for a project with > many people consistency can be more important than an ideal layout.
Another approach is to set standards for documentation that can be applied by hand and by editor settings: things like cuddle-else, no tabs, just spaces, indent shift of 3/4... Personally, I haven't had much luck with source format programs since they tend to mess things up but requiring there use is an operational way to enforce coding standards. --Chris > That said, there's some tweaks I wouldn't mind making to the config, > the way it does if (with no space) { is pretty annoying. > > Adam K > > On 1 March 2011 09:09, Gabor Szabo<szab...@gmail.com> wrote: >> 2011/2/28 "Burak Gürsoy"<burakgur...@gmx.net>: >>> But you seem to assume that perltidy is perfect and fits everyones >>> taste. I think perltidy is a great tool for refactoring, but >>> it fails to meet my taste in indentation 60%. So, perltidy()ing >>> everything does not make much sense to me, but then again >>> I'm not actively developing Padre. >> >> I hear many people complain about Perl::Tidy but no one seems >> to do anything about it. It is like the weather in London. :-( >> >> I think the reason we use Perl::Tidy is that it is better to have >> a non-perfect solution than to hope that we all know how >> everyone else on the team wants to indent things. >> >> I'd really like to see some people put a bit time into Perl::Tidy. >> It hardly has any test. Adding some test-cases to it would be fun >> and once there is a reasonable test coverage people could >> start to add features. >> >> regards >> Gabor >> _______________________________________________ >> Padre-dev mailing list >> Padre-dev@perlide.org >> http://mail.perlide.org/mailman/listinfo/padre-dev >> > _______________________________________________ > Padre-dev mailing list > Padre-dev@perlide.org > http://mail.perlide.org/mailman/listinfo/padre-dev > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1204 / Virus Database: 1435/3472 - Release Date: 02/27/11 > > > _______________________________________________ Padre-dev mailing list Padre-dev@perlide.org http://mail.perlide.org/mailman/listinfo/padre-dev