Setting up scala with IntelliJ
intellij-idea, java, macos, scala
Solution
You need to specify `/usr/local/Cellar/scala/2.9.2/libexec` directory on your first screenshot. This is Mac `brew` specific, the same case is valid for `grails` installed via `brew`.
Standard Scala distribution download has different layout which IDEA understands correctly, `brew` is creating `libexec` directory where it writes `/lib` and `/src` directories expected by IDEA.
Problem
I have Intellij ultimate 11.1, with the scala plugin installed. I installed scala 2.9.2 using homebrew, which put scala in: ``` /usr/local/Cellar/scala/2.9.2> >which scala /usr/local/bin/scala >scala -version Scala code runner version 2.9.2 -- Copyright 2002-2011, LAMP/EPFL ``` Creating a new java module project, I get this: Can someone help me fix these issues, why didn't the scala plugin make this work out of the box? :)