Typescript - HTML Tag Format on New Line

When working in a ng2 component's template, upon hitting enter on the following...

 

I receive...

when I would expect...

This behavior does not apply when editing true HTML files, as it properly indents the tag to the correct location.  However, I have gone mad trying to determine what causes the HTML within a typescript to handle this.  Further, if I turn off auto-complete on tags, there is no issue with this when I hit enter.

How do I achieve auto-complete tags and the new line + indent behavior I am looking for while editing HTML in Typescript?

 

Thanks!

-Dustin

1 comment
Comment actions Permalink

no way currently, please vote for https://youtrack.jetbrains.com/issue/WEB-18307 and linked tickets

0

Please sign in to leave a comment.