Eclipse Neon - How to indent HTML 5 semantic elements like <main>, <article>?

197 views Asked by At

I'm using Eclipse Neon Oxygen June 2017 with webtools so that I can work on a project using Tomcat and have SVN support as well. Eclipse doesn't like semantic HTML5 tags like main and article out of the box, it seems. I changed the validation settings so that it doesn't give me warnings on them, but I haven't found a way to change their indentation. Right now, main and div will be indented on the same level like so:

<main>
<div class="row">

Has anyone figured out how to fix this? It's quite annoying when the formatter puts them on the same level. Would I be able to use Tomcat, emmet, and SVN in Aptana Studio and just forget this mess?

0

There are 0 answers