title: How can IntelliJ show type hints for automatically inferred local variables in Java 10?
body: <p>IntelliJ shows type hints for local variables in Kotlin as shown here:</p>
  <p><a href="https://i.stack.imgur.com/YUVyx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/YUVyx.png" alt="Type hints in Kotlin" /></a></p>
  <p>This makes it easy to see the type of variables even if their types are inferred.
  Java 10 introduces type inference for Java with the <code>var</code> keyword.
  However, IntelliJ does not show any type hints by default:</p>
  <p><a href="https://i.stack.imgur.com/mzV0k.png" rel="noreferrer"><img src="https://i.stack.imgur.com/mzV0k.png" alt="enter image description here" /></a></p>
  <p>After searching the internet for a bit, I was unable to find any information on how to enable type hints for local variables for Java.
  Is this even possible currently?</p>
  <p>I use IntelliJ Community Edition 2019.1 on Windows 10.</p>