title: How to get output of Kotlin IntelliJ scratch file?
body: <p>A script as simple as</p>
  
  <pre><code>println("a")
  </code></pre>
  
  <p>doesn't produce any output in the <code>Scratch output</code> window. I expect an <code>a</code> to appear in the output window.</p>
  
  <p>I'm using IntelliJ 2019.1.2 CE.</p>