<ul dir="auto">
<li>VSCode Version: 0.10.11</li>
<li>OS Version: Mac OS X 10.11.3</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>Open a new project and make sure <code class="notranslate">editor.tabSize</code> is set to <code class="notranslate">auto</code></li>
<li>Create a new file <code class="notranslate">test.js</code> with the following contents</li>
</ol>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="'use strict';

const multiline = `
  this is a multiline
  string with 2 space indentation
`;

function log(str) {
    console.log(str);
}

log(multiline);"><pre class="notranslate"><span class="pl-s">'use strict'</span><span class="pl-kos">;</span>

<span class="pl-k">const</span> <span class="pl-s1">multiline</span> <span class="pl-c1">=</span> <span class="pl-s">`</span>
<span class="pl-s">  this is a multiline</span>
<span class="pl-s">  string with 2 space indentation</span>
<span class="pl-s">`</span><span class="pl-kos">;</span>

<span class="pl-k">function</span> <span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">str</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
    <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">str</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>

<span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">multiline</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<blockquote>
<p dir="auto">Note: The indentation inside the <code class="notranslate">log</code> function is a <code class="notranslate">tab</code> but GitHub parses it to 4 spaces. So make sure to convert this to a <code class="notranslate">tab</code> when copy-pasting.</p>
</blockquote>
<ol dir="auto">
<li>Close the file and reopen it</li>
</ol>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1913805/14087927/c1070236-f52c-11e5-939f-3201ba14eeb2.png"><img width="310" alt="screen shot 2016-03-28 at 21 33 32" src="https://cloud.githubusercontent.com/assets/1913805/14087927/c1070236-f52c-11e5-939f-3201ba14eeb2.png" style="max-width: 100%;"></a></p>
<p dir="auto">As you can see, it sets the <code class="notranslate">tabSize</code> to <code class="notranslate">2</code> because it is <code class="notranslate">2</code> in the multiline template literal. But it shouldn't take strings into account to determine this.</p>
<p dir="auto">// <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alexandrudima/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alexandrudima">@alexandrudima</a></p>
<p dir="auto">VS Code 64 bit compile is desperately needed.</p>
<p dir="auto">When you use the explorer extension "Open with Code" and are looking at files in c:\windows\System32 on a 64 bit OS, the File System Redirector gets in the way and sends you to the SysWOW64 directory, which may not contain your file.  UX is horrible.</p>
<p dir="auto">For example, right click on C:\Windows\System32\BestPractices\v1.0\Models\Microsoft\Windows\WebServer\WebServer_Model.ps1 and select "Open with Code"</p>
<p dir="auto">Code starts, but has a blank file in the editor that's dirty and ready for a save.</p>
<p dir="auto">Since the 64 bit Explorer doesn't populate the SysNative tree there's no way to use the explorer extesion on this and similar files.</p>