Source Formatting / Indention Question
Posted: Fri Jul 30, 2004 11:42 am
Hi,
I´ve installed the Eclipse version of the <oXygen/> editor for working on a Docbook document on an NT4 workstation.
As I´ve started writing the Docbook document with a regular editor with no auto-indention and formatting support the source looks really crappy.
I´d like to use <oXygen/> to format my source code in a neat looking way, similar to what Homesite does with HTML when one uses the according function.
As far as I see the function responsible for this in <oXygen/> is "Format and Indent" but I could not get it to work on my installation. When I press the the button or select "Format and Indent" from the "XML" menu nothing happens.
I´d expect
to become
but "Format and Indent" does nothing at all ...
Is there something I am missing?
Thanks in advance for your help.
Emre
I´ve installed the Eclipse version of the <oXygen/> editor for working on a Docbook document on an NT4 workstation.
As I´ve started writing the Docbook document with a regular editor with no auto-indention and formatting support the source looks really crappy.
I´d like to use <oXygen/> to format my source code in a neat looking way, similar to what Homesite does with HTML when one uses the according function.
As far as I see the function responsible for this in <oXygen/> is "Format and Indent" but I could not get it to work on my installation. When I press the the button or select "Format and Indent" from the "XML" menu nothing happens.
I´d expect
Code: Select all
<a>
<b><c>
<d>
</d>
</c></b></a>
Code: Select all
<a>
<b>
<c>
<d>
</d>
</c>
</b>
</a>
Is there something I am missing?
Thanks in advance for your help.
Emre