Отступы в <head></head> в eclipse

Мне нужно Eclipse (Kepler) для отступов HTML-тегов в <head>...</head>, когда я нажимаю Ctrl + Shift + F

В настоящее время это:

<html>
<head>
<title>Insert title here</title>
<script type="text/javascript">
function func() {
console.log("Hello world");
}
</script>
</head>
<body>
<p onclick="func()">Some text</p>
</body>
</html>

становится таким, когда я нажимаю комбинацию клавиш.

<html>
<head>
<title>Insert title here</title>
<script type="text/javascript">
    function func() {
        console.log("Hello world");
    }
</script>
</head>
<body>
  <p onclick="func()">Some text</p>
</body>
</html>

Мне нужно все внутри <head>...</head> для отступов, а также все теги в <html>...</html>.

В идеале этот способ:

<html>
  <head>
    <title>Insert title here</title>
    <script type="text/javascript">
      function func() {
        console.log("Hello world");
      }
    </script>
  </head>
  <body>
    <p onclick="func()">Some text</p>
  </body>
</html>

Ответы

Ответ 1

Вы можете попытаться перейти к: Окно > Настройки > Веб > Файлы HTML > Редакторы.

Добавить/удалить то, что вы хотите отступом от встроенного поля. Из того, что я видел, он не содержит тег заголовка, поэтому попробуйте добавить в список.