IntelliJ IDEA Cheat Sheet
  Table of Contents
  
IntelliJ IDEA 12 and 13
Behavior
Play Framework
Getting indentation to work properly in scala.html files
- Open the Settings dialog.
 - Under the Project Settings, on the left, select Template Data Languages.
 - On the right, drill down to the 
viewsdirectory, and set its template language to “Scala”. Indentation should now mirror Scala code indentation.