Setting up scala with IntelliJ

前端 未结 7 611
萌比男神i
萌比男神i 2020-12-04 06:37

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         


        
7条回答
  •  误落风尘
    2020-12-04 07:35

    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.

提交回复
热议问题