1. premise:
- scala already installed locally on mac:
2. New Project, click on the project, right-click on the Add Framwork Support
3. Locate the scala, the beginning of "scala-dk-2.11.8" is not, you need to find yourself
so click create, and then click Browe ...
4. came to his own catalog of scala installation. Select the lib directory under the scala-2.11.8 directory, click open, you can
5. Click ok
6. Click file-> Project Structure
7. Select the module
8. In the main, a new scala directory, click on the Source code can be written in Scala scala directory: