title: How to invoke the "Organize imports" TypeScript feature in Visual Studio?
body: <p>There is a new feature in TypeScript 2.8 that lets you "<strong>Organize imports</strong>": <a href="https://blogs.msdn.microsoft.com/typescript/2018/03/27/announcing-typescript-2-8/#organize-imports" rel="noreferrer">https://blogs.msdn.microsoft.com/typescript/2018/03/27/announcing-typescript-2-8/#organize-imports</a></p>
  
  <p>Basically it does the following:</p>
  
  <ul>
  <li>remove unnecessary import statements</li>
  <li>sort the import statements</li>
  </ul>
  
  <p>The page shows that the feature can be invoked in Visual Studio Code with the <kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>O</kbd> keyboard shortcut. Does anybody know how this feature can be invoked in Visual Studio (2017)?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>From version <strong>15.8</strong> onward Visual Studio 2017 highlights unused imports by greying them out.</p>