Setting up scala with IntelliJ

前端 未结 7 594
萌比男神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.

    0 讨论(0)
提交回复
热议问题