html style

the pycharm formatting of html looks really wierd ... it wont indent div inside div, and all the stuff inside head is not indented .. i hate it .. i tried the settings but nothing changes it .. for example, instead of this:
<html>
<head>
<script>
... (looks horrible)

I want this:   how can i get it to do it right!??
<html>
   <head>
      <script>
         function a() {}
      </script>
   </head>
</html>

Please sign in to leave a comment.