Search code examples
playframework-2.0scala-2.10intellij-14

IntelliJ IDEA is not showing scala file option in play project


I have created play project using typesafe activator 1.2.12 and converted into IntelliJ IDEA using idea command.

Then I have imported into IntelliJ IDEA.

I have edited routes file.

Then I tried to create scala file in controllers directory by right clicking but it is not showing any options for scala file creation.

Could anybodyhelp me on this issue.


Solution

  • I had the exact same issue with IntelliJ 14

    File -> Project Structure -> Modules and, under the module named after the project, deleted the "Scala" facet with the question mark beside it.

    I then clicked the + sign and added Scala.