osx - How to configure Intellij 12 on Mac to find the scala libraries? -


this question has answer here:

nb: marking question duplicate faulty given ignores comment made here in op:

from op: yes there similar question setting scala intellij answers portion of 1 - particularly relates brew defined paths. but pertains ij 11 scala configuration quite different.

i missing step configure scala on os x 10.8.4 ij ultimate 12.1.4. following shows scala has been installed (via brew):

mellyrn:~ steve$ brew install scala warning: scala-2.10.2 installed 

the scala compiler set 'external build':

enter image description here

following screenshot shows interpreter 'missing' basic scala libraries:

enter image description here

following shows library missing in scala facet:

enter image description here

here works me in intellij idea 12.1.4 community edition

  • open project structure
  • add java library named "scala-library" includes scala-*.jar in lib directory of scala installation
  • in scala facet -> compiler library, select "scala-library" created in dropdown list

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -