<ul dir="auto">
<li>VSCode Version: 1.1.1-Insider</li>
<li>OS Version: Win 10</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>Copy HTML code and try ALT+SHIFT+F</li>
<li>Does not work properly.</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;h2 class=&quot;project_header section_header&quot;&gt;
                    &lt;a class=&quot;project_link&quot; href=&quot;#&quot;&gt;&lt;span&gt;Shopping&lt;/span&gt;
                    &lt;/a&gt;
                    &lt;div class=&quot;right_task_actions&quot;&gt;
                        &lt;a href=&quot;#&quot;&gt;&lt;img class=&quot;cmp_share_project&quot; src=&quot;/app/app/assets/76084e29cb2cf72b320e888edc583dfb.gif&quot; height=&quot;16&quot; width=&quot;26&quot;&gt;
                        &lt;/a&gt;
                        &lt;a href=&quot;#&quot;&gt;
                            &lt;img class=&quot;cmp_task_actions icon&quot; src=&quot;/app/app/assets/76084e29cb2cf72b320e888edc583dfb.gif&quot; height=&quot;16&quot; width=&quot;26&quot;&gt;
                            &lt;/a&gt;
                        &lt;/div&gt;
                &lt;/h2&gt;"><pre class="notranslate"><code class="notranslate">&lt;h2 class="project_header section_header"&gt;
                    &lt;a class="project_link" href="#"&gt;&lt;span&gt;Shopping&lt;/span&gt;
                    &lt;/a&gt;
                    &lt;div class="right_task_actions"&gt;
                        &lt;a href="#"&gt;&lt;img class="cmp_share_project" src="/app/app/assets/76084e29cb2cf72b320e888edc583dfb.gif" height="16" width="26"&gt;
                        &lt;/a&gt;
                        &lt;a href="#"&gt;
                            &lt;img class="cmp_task_actions icon" src="/app/app/assets/76084e29cb2cf72b320e888edc583dfb.gif" height="16" width="26"&gt;
                            &lt;/a&gt;
                        &lt;/div&gt;
                &lt;/h2&gt;
</code></pre></div>
<p dir="auto">Copy/Paste above code and try to press, Format Code shortcut, nothing happens.</p>
<p dir="auto">Expected behavior is that span would indent below in "a" tag. also that div's and a's ending tags will align but nothing happens.</p>
<p dir="auto">What would I expect is following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;h2 class=&quot;project_header section_header&quot;&gt;
        &lt;a class=&quot;project_link&quot; href=&quot;#&quot;&gt;
               &lt;span&gt;Shopping&lt;/span&gt;
        &lt;/a&gt;
        &lt;div class=&quot;right_task_actions&quot;&gt;
               &lt;a href=&quot;#&quot;&gt;
                       &lt;img class=&quot;cmp_share_project&quot; src=&quot;/app/app/assets/76084e29cb2cf72b320e888edc583dfb.gif&quot; height=&quot;16&quot; width=&quot;26&quot;&gt;
               &lt;/a&gt;
               &lt;a href=&quot;#&quot;&gt;
                       &lt;img class=&quot;cmp_task_actions icon&quot; src=&quot;/app/app/assets/76084e29cb2cf72b320e888edc583dfb.gif&quot; height=&quot;16&quot; width=&quot;26&quot;&gt;
               &lt;/a&gt;
         &lt;/div&gt;
&lt;/h2&gt;"><pre class="notranslate"><code class="notranslate">&lt;h2 class="project_header section_header"&gt;
        &lt;a class="project_link" href="#"&gt;
               &lt;span&gt;Shopping&lt;/span&gt;
        &lt;/a&gt;
        &lt;div class="right_task_actions"&gt;
               &lt;a href="#"&gt;
                       &lt;img class="cmp_share_project" src="/app/app/assets/76084e29cb2cf72b320e888edc583dfb.gif" height="16" width="26"&gt;
               &lt;/a&gt;
               &lt;a href="#"&gt;
                       &lt;img class="cmp_task_actions icon" src="/app/app/assets/76084e29cb2cf72b320e888edc583dfb.gif" height="16" width="26"&gt;
               &lt;/a&gt;
         &lt;/div&gt;
&lt;/h2&gt;
</code></pre></div>
<p dir="auto">I have tried also CTRL+SHIFT+X to delete spaces and then do a format again but nothing happened.</p>
<p dir="auto">Format will not work on following code as well:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;h2 class=&quot;project_header section_header&quot;&gt;
&lt;a class=&quot;project_link&quot; href=&quot;#&quot;&gt;&lt;span&gt;Shopping&lt;/span&gt;
&lt;/a&gt;
&lt;div class=&quot;right_task_actions&quot;&gt;
&lt;a href=&quot;#&quot;&gt;&lt;img class=&quot;cmp_share_project&quot; src=&quot;/app/app/assets/76084e29cb2cf72b320e888edc583dfb.gif&quot; height=&quot;16&quot; width=&quot;26&quot;&gt;
&lt;/a&gt;
&lt;a href=&quot;#&quot;&gt;
&lt;img class=&quot;cmp_task_actions icon&quot; src=&quot;/app/app/assets/76084e29cb2cf72b320e888edc583dfb.gif&quot; height=&quot;16&quot; width=&quot;26&quot;&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;/h2&gt;"><pre class="notranslate"><code class="notranslate">&lt;h2 class="project_header section_header"&gt;
&lt;a class="project_link" href="#"&gt;&lt;span&gt;Shopping&lt;/span&gt;
&lt;/a&gt;
&lt;div class="right_task_actions"&gt;
&lt;a href="#"&gt;&lt;img class="cmp_share_project" src="/app/app/assets/76084e29cb2cf72b320e888edc583dfb.gif" height="16" width="26"&gt;
&lt;/a&gt;
&lt;a href="#"&gt;
&lt;img class="cmp_task_actions icon" src="/app/app/assets/76084e29cb2cf72b320e888edc583dfb.gif" height="16" width="26"&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;/h2&gt;
</code></pre></div>
<p dir="auto">What is the logic behind code formatting, is there anything we can do by config?</p>
<ul dir="auto">
<li>VSCode Version: 1.0.0</li>
<li>OS Version: OSX 10.11.4</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>Try to auto format the following HTML<br>
<code class="notranslate">&lt;template&gt;&lt;div&gt;Hello&lt;/div&gt;&lt;div&gt;World&lt;/div&gt;&lt;/template&gt;</code></li>
</ol>
<p dir="auto">I expect to get something like this</p>
<p dir="auto"><code class="notranslate">&lt;template&gt;</code><br>
<code class="notranslate">____&lt;div&gt;Hello&lt;/div&gt;</code><br>
<code class="notranslate">____&lt;div&gt;World&lt;/div&gt;</code><br>
<code class="notranslate">&lt;/template&gt;</code></p>
<p dir="auto">But it does not work. If I replace the <code class="notranslate">&lt;template&gt;</code> tag with <code class="notranslate">&lt;div&gt;</code> then the auto format works correctly. This issue was not present in the previous version.</p>
<p dir="auto">Thanks,</p>