title: Highlight unused variables and imports is not working properly
body: <p>VSCode May 2018 (version 1.24, MacOs)</p>
  
  <p>Feature: <a href="https://code.visualstudio.com/updates/v1_24#_highlight-unused-variables-and-imports" rel="noreferrer">Highlight unused variables and imports</a></p>
  
  <h2>Description of the feature:</h2>
  
  <p>Unused variables, parameters, and imports are now greyed out in JavaScript and TypeScript.</p>
  
  <h2>My problem:</h2>
  
  <p>I created a simple <code>test.js</code> file:</p>
  
  <pre><code>var var1  // not used =&gt; should be greyed out
  var var2 = 2
  var var3
  
  var3 = var2 + 2
  console.log(var3)
  </code></pre>
  
  <p>The variable is not greyed out on my screen.
  I am using the theme <code>Dark+</code>.</p>
  
  <p>What could be the problem?</p>