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.
-------- Original-Nachricht -------- > Datum: Mon, 28 Feb 2011 15:02:44 +0100 > Von: Zeno Gantner <zeno.gant...@gmail.com> > An: Padre development discussion list <padre-dev@perlide.org> > Betreff: Re: [Padre-dev] Keeping Padre Tidy? > IMHO Tidy could be a core feature. I am not sure about the stability > of the code, though (because I have never really tried it). > > Best regards, > Z. > > On Mon, Feb 28, 2011 at 2:49 PM, Gabor Szabo <szab...@gmail.com> wrote: > > So if I understand you, then you would even get rid of the > > tools/tidy_project.pl and expect that everyone will use Padre > > to edit the source code of Padre and also use the Perl::Tidy > > plugin which would run tidy before saving the file. > > > > I think that would be acceptable though it would require > > some more development on our part as currently the tidy > > plugin cannot register to be called upon save. > > > > Till we implement that and probably even after that we will need > > some discipline from ourselves. > > > > To make it sure we educate ourselves I could add a post-commit hook > > that will check if the most recently committed files are clean and > > send a warning e-mail if there is anything to tidy. > > > > We can then require the payment of one bottle of beer[1] > > by the person who committed an untidy file. > > > > Gabor > > > > [1] or equivalent amount of chocolate. > > > > On Mon, Feb 28, 2011 at 2:39 PM, Adam Kennedy > > <adamkennedybac...@gmail.com> wrote: > >> Occasionally I switch temporarily when I completely destroy something > >> internal, but I will be back in Padre before I do the final commit. > >> > >> Adam K > >> > >> > >> On 28 February 2011 23:20, Claudio Ramirez <padre.clau...@apt-get.be> > wrote: > >>> Op 28-02-11 13:19, Adam Kennedy schreef: > >>>> Padre is an IDE, and one that supports Perl Tidy, AND one that > >>>> theoretically supports project-specific configuration. > >>>> > >>>> I think it's a bad idea to do tidying anywhere other than client > side, > >>>> and I think the IDE itself should enforce the tidying. > >>> > >>> It does not happen to you that you use vim or an other editor when > >>> fixing a crashing Padre? > > _______________________________________________ > > Padre-dev mailing list > > Padre-dev@perlide.org > > http://mail.perlide.org/mailman/listinfo/padre-dev > > > > > > -- > MyMediaLite Recommender System Library: http://ismll.de/mymedialite > _______________________________________________ > Padre-dev mailing list > Padre-dev@perlide.org > http://mail.perlide.org/mailman/listinfo/padre-dev -- Schon gehört? GMX hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://www.gmx.net/de/go/toolbar _______________________________________________ Padre-dev mailing list Padre-dev@perlide.org http://mail.perlide.org/mailman/listinfo/padre-dev