Re: Re: Re: [PEAR-DEV] where is php auto indent tool?
| From: | Young Gift | Date: | Wed, 23 May 2001 11:17:24 +0000 |
| Subject: | Re: Re: Re: [PEAR-DEV] where is php auto indent tool? | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-454@lists.php.net to get a copy of this message | ||
Roel Vanhout,
> The only problem I have found with c-indenters is that
>the <? and <?php tags will be split up to < ? and < ? php
The program indent(1) for C can't understand the keywords 'function',
'class' etc.
'function' is not included in C, and 'class' is not included in C/C++.
Convert the php source code with indent(1) will make a error when there is 'function' or
'class'.
Thanks for the URL you refered, I will go.
>On Tue, May 22, 2001 at 03:32:56AM +0800, Young Gift wrote:
>> The tool I want is a scource code beautifier , which can format the
>> code has been writen into any style. The best example is indent(1) for
>> C in Linux. I have found VisualSlickEdit and ASPEdit can't give me
>> help. They can't cut a line with more than one sentence , and are ill
>> in brace.
>
>--
>People nowadays, complaining they only get 5MBs of disk space! In my day
>we were lucky if we had one file, and that was /dev/null.
>
Young Gift
young@nenu.edu.cn