title: Syntax highlighting for scala.html and routes files in IntelliJ / Play framework
body: <p>I am new to both IntelliJ and the Play framework. I noticed that after installing IntelliJ and importing my first Play application, syntax highlighting is not working properly for both *.scala.html files and the routes files. I was able to modify the settings for the *.scala.html files to have them recognized as Scala files, but this isn't actually correct because the scala templating system is not pure Scala.</p>
  
  <p>Here's a screenshot, in case it helps:</p>
  
  <p><img src="https://i.stack.imgur.com/M2ikV.png" alt="enter image description here"></p>
  
  <p>In the official Play video tutorials there seems to be a special syntax highlighting setting for these template files, but I don't know how to add this to IntelliJ. Here's a screenshot from this tutorial and how I would like the syntax highlighting to look:</p>
  
  <p><img src="https://i.stack.imgur.com/BA0Gj.png" alt="enter image description here"></p>
  
  <p>Also, I couldn't find any solution for the routes file. Any help would be most appreciated!"</p>
  
  <p>P.S. I enabled the Vim emulator during installation of IntelliJ. I don't know if this had any effect on the syntax highlighting defaults...</p>