title: How do I get Intellij IDEA 12.0 to work with Play Framework 2.1.0 app and Scala 2.10.0?
body: <p>So I've been trying to get IDEA 12.0 to work with Play 2.1.0 and Scala 2.10.0. I've just about given up because it's not working for me the way I want it to. Here is a copy of my <code>build.properties</code>, <code>Build.scala</code>, and <code>plugins.sbt</code>. I followed the approach on the playframework site to execute <code>idea with-sources=yes</code> in the play console. I've also tried adding <code>sbt-idea</code> plugin version 1.3.0-SNAPSHOT as seen in plugins.sbt, but nothing seems to work if I want to reference a new view template I just created or a new route. The only way I can work in IDEA is if I have a console open and run <code>sbt compile</code>, go back to IDEA, and it will refresh itself and recognize the new view templates or routes.</p>
  
  <p><code>plugins.sbt</code></p>
  
  <pre><code>logLevel := Level.Warn
  
  scalaVersion := "2.10.0"
  
  // The Typesafe repository 
  resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
  // Sonatype snapshots to get sbt-idea 1.3.0-SNAPSHOT
  //resolvers += "Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"
  
  // Use the Play sbt plugin for Play projects
  addSbtPlugin("play" % "sbt-plugin" % "2.1.0")
  //addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.3.0-SNAPSHOT")
  </code></pre>
  
  <p><code>build.properties</code></p>
  
  <pre><code>sbt.version=0.12.2
  </code></pre>
  
  <p><code>Build.scala</code></p>
  
  <pre><code>import sbt._
  import Keys._
  import play.Project._
  
  object ApplicationBuild extends Build {
  
    val appName         = "admin-application"
    val appVersion      = "1.0-SNAPSHOT"
  
    val appDependencies = Seq(
      // Add your project dependencies here,
      jdbc,
      anorm
    )
  
    val main = play.Project(appName, appVersion, appDependencies).settings(
      // Add your own project settings here      
    )
  }
  </code></pre>