Re: Commenting w/ {{{ methodName
| From: | Jesus M. Castagnetto | Date: | Mon, 24 Feb 2003 02:13:04 +0000 |
| Subject: | Re: Commenting w/ {{{ methodName | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-390@lists.php.net to get a copy of this message | ||
Actually the folding markers were used by emacs first.
Vim just got that (which makes me happy as is my
favorite editor) in version 6.
BTW, VIM also has syntaxt/context-based folding, and
there is a set of rules for PHP already. So the use of
the markers is optional, but useful if more than one
person is going to edit the file. Other editors also
understand folding markers.
Finally, the *real* documentations should be in
javadoc-style, so it can be processed w/ tools like
phpdoc or phpdocumentor.
--- Arnaud Limbourg <arnaud.limbourg@club-internet.fr>
wrote:
> > I was just looking through some of the PEAR
> modules and notices comments that
> > look like this.
> >
> > // {{{ functionName()
> > ....
> > // }}}
> >
> > What is this for? The only thing I can think of
> is folding in Vim. If this is
> > so, can someone please send me their php.vim file
> so I may use this
> > functionality?
>
> It's for vim indeed. But i don't use it ;)
>
>
> --
> PEAR Documentation List Mailing List
> (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
=====
--- Jesus M. Castagnetto <jmcastagnetto@php.net>
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/