Re: indenting pear code automatically

From: Date: Tue, 18 Mar 2003 03:44:33 +0000
Subject: Re: indenting pear code automatically
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14383@lists.php.net to get a copy of this message
Have you looked at the tokenizer extension - this will probably do 90% of the work for you. Regards Alan Ruzivo wrote:
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
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

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