Eclipse: Unknown tags on new line

Viewed 1377

I'm using custom tags for HTML (using AngularJs). I want the formatting in eclipse to look like the below:

Expected:

<tabset>
    <tab heading='Series'>
        something
    </tab>
    <tab heading="Input Controls">
        something
    </tab>
    <tab heading='Options'>
        something
    </tab>
</tabset>

After formatting in eclipse

    <tabset> <tab heading='Series'> something </tab> <tab heading="Input Controls"> something </tab> <tab
                heading='Options'> something </tab> </tabset>

Everything is forced to the single line.

How to control the flow of unknown elements/tags in eclipse?

Thanks,

1 Answers
Related