Re: Indentation and XMLBuddy
| From: | Matthew Peters | Date: | Fri, 05 Jan 2007 12:13:47 +0000 |
| Subject: | Re: Indentation and XMLBuddy | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969374681@lists.php.net to get a copy of this message | ||
Nuno, thanks. I will make sure I put them back to
<para>
text
</para>
before I check in.
Do you know, perhaps, is there a way to use vim to reflow the contents of
the entire file and sort out all the indentation in one go?
Matthew
""Nuno Lopes"" <nlopess@php.net> wrote in message
news:008401c730b9$c1492db0$0100a8c0@pc07653...
>I never used XMLBuddy so I can't help you with that. However that style
>breaks our standard. Take a look at
>http://doc.php.net/php/dochowto/chapter-conventions.php (I
>noticed now that
>the changelog part is outdated, but the rest should be ok) and
>http://doc.php.net/php/dochowto/chapter-skeletons.php
>
> VIm is usually pretty good for editing our manual, as all files already
> have vim and emacs instructions :)
>
> Nuno
>
>
> ----- Original Message -----
> From: "Matthew Peters" <matthew_peters@uk.ibm.com>
> To: <phpdoc@lists.php.net>
> Sent: Thursday, January 04, 2007 6:38 PM
> Subject: [PHP-DOC] Indentation and XMLBuddy
>
>
>>I like to use the XMLBuddy plugin under eclipse for editing XML, as it
>>flows everything nicely and does all the indentation just right, with one
>>exception, which is that it likes to format paragraphs with <para> and
>></para> on the same lines as the text, like this:
>>
>> <para> Here is some text that flows
>> on to the next lineand then again on
>> to another. </para>
>>
>> Does this formatting break the standards for the documentation or cause a
>> problem for anyone, or can I check it in like this? Alternatively, does
>> any know how to make XMLBuddy treat <para> and </para> like any other
>> tag?
>>
>> Matthew Peters