<p dir="auto">Copied from: <a href="https://code.visualstudio.com/Issues/Detail/20178" rel="nofollow">https://code.visualstudio.com/Issues/Detail/20178</a></p>
<p dir="auto">I was experiencing a bizarre issue where the TS language service broke down and wouldn't underline errors in my code. After pulling my hair out for half an hour, I figured out it was because I was doing a file import with the wrong case e.g.</p>
<p dir="auto">import Engine from "./Engine"</p>
<p dir="auto">instead of</p>
<p dir="auto">import Engine from "./engine"</p>
<p dir="auto">The default class exported was named 'Engine' which I think might have also had something to do with it.</p>
<p dir="auto">Open the attached folder in VS Code, then pick the "engine.ts" file and notice that there is an undefined symbol ("jjj_this_is_an_error") that is not red underlined.</p>
<p dir="auto">I would expect a better error on the erroneous import instead of the imported file no longer having proper language services. :)</p>
<p dir="auto"><em>From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kuechlerm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kuechlerm">@kuechlerm</a> on March 2, 2016 9:27</em></p>
<p dir="auto">In 0.10.10-insider the following code causes the "Go to symbol..."-box to state "No symbols found".</p>
<p dir="auto"><code class="notranslate">(function() { function foo() { } })();</code></p>
<p dir="auto">I would expect to see 'foo' listed as a symbol, which is the case without the IIFE.</p>
<p dir="auto"><em>Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="137820429" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/3618" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/3618/hovercard" href="https://github.com/microsoft/vscode/issues/3618">microsoft/vscode#3618</a></em></p>