Set point source (Scala) in the idea

1. official website to download the source code scala

Click the following link to download the source code: http://www.scala-lang.org/download/all.html

Click to select the version required to download, I chose the 2.11.8 version, as shown below:

 

 



2. Set the point source in the idea

Select File intellij in -> Project Structure, or use the shortcut key (Ctrl + Alt + Shift + s) into the Project Structure

Select Global Libraries -> target SDK (scala), and then in the right panel of Scala Library downward click the "+" button, FIG.

 

 Then select the src unpacked directory source packages, as follows:

 

 

 After clicking ok, you can see as shown below:

 

Finally, click ok to.

Guess you like

Origin www.cnblogs.com/suhaha/p/12117330.html