0 Replies Latest reply on Jun 4, 2007 6:15 PM by Anthony Whitford

    XML formattting in Eclipse to match seam-gen

    Anthony Whitford Newbie

      When looking at seam-gen generated xhtml, I can see it is formatted in a way that the element attributes are aligned on the equals (=) sign:

       <s:decorate id="nameDecoration" template="layout/edit.xhtml">
       <ui:define name="label">name</ui:define>
       <h:inputText id="name"
       <a:support event="onblur" reRender="nameDecoration"/>

      This is certainly pretty, and makes it easy to read.

      My problem is that this alignment is lost when I reformat this XML in Eclipse because it has its own indentation rules. Is there a way to get this kind of indentation in Eclipse?