Re: indenting pear code automatically

From: Date: Tue, 18 Mar 2003 03:33:18 +0000
Subject: Re: indenting pear code automatically
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14382@lists.php.net to get a copy of this message
Hello, This is probably a good time to stop lurking and announce that I am in the process of trying to code a phptidy script that will handle all of the indenting and spacing. I know that this does not answer your question, but I wanted to get the opinion of the other list members if this is a good idea or do they know of other script that is currently in the works to perform the same function. Thanks Robert McFrazier ----- Original Message ----- From: "messju mohr" <messju@lammfellpuschen.de> To: <pear-dev@lists.php.net> Sent: Monday, March 17, 2003 1:36 AM Subject: [PEAR-DEV] indenting pear code automatically > hello, > > on http://pear.php.net/manual/en/standards.php there is an > indent-call > suggestend for pear-code: > > indent -nut -bap -br -ce -cli4 -ncs -ss -npcs -saf \ > -sai -saw -nprs -bfda -psl -brs \ > -lp -nbbo -hnl -i4 -ci4 > > when i use this, the php-code looks good, but it destroys all the > closing and opening php-tags. "<?php" becomes "< ? php" and > "?>" > becomes "? >". > > has anyone a clue how to prevent indent, from doing this? > > greetings > messju > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 3/2/03

« previous php.pear.dev (#14382) next »