[ 
https://issues.apache.org/jira/browse/SLING-3629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15602343#comment-15602343
 ] 

Konrad Windszus commented on SLING-3629:
----------------------------------------

The only things which cannot be achieved with the XML formatter to be 
completely in sync with the vault formatting are
#  Different indentation levels for attributes and subelements (see 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=499369) are not supported by the 
Eclipse XML formatter (but used within vault)
# The XML prolog is slightly differently formatted, i.e. all attributes of that 
sections are in one line with Filevault but in multiple lines with the Eclipse 
formatter.

> Provide an XML formatter for content.xml files
> ----------------------------------------------
>
>                 Key: SLING-3629
>                 URL: https://issues.apache.org/jira/browse/SLING-3629
>             Project: Sling
>          Issue Type: Improvement
>          Components: IDE
>            Reporter: Robert Munteanu
>            Priority: Minor
>             Fix For: Sling Eclipse IDE 1.1.2
>
>
> When editing resource properties through the JCR properties view, we format 
> the corresponding XML according to the vault canonical format. At the same 
> time, there is no such provision for working with content.xml files directly 
> in the editor.
> While I don't think that we should format them automatically, it would be 
> useful to have a formatter which can be manually invoked.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to