missing play sources when using sbt gen-idea

intellij-idea, playframework, sbt, scala

Solution

The correct answer it seems is to use the `withSources` command in sbt.

sbt idea withSources

this is similar to the eclipse plugins

sbt eclipsify withSources=true

Problem

I'm using the Play framework on a project and use IntelliJ as my IDE of choice. The problem I'm having is that IntelliJ doesn't have access to the play sources jar, meaning I can't step into play code etc. When I use `> sbt gen-idea` the scalatra sources are attached to the project in IntelliJ but for some reason the play sources are not attached. Is there a special command that needs ran? I am currently using sbt 0.11.

Original source