官术网_书友最值得收藏!

  • Scala Programming Projects
  • Mikael Valot Nicolas Jorand
  • 156字
  • 2021-07-23 16:25:16

Creating the project

Repeat the same recipe that you completed in the Installing IntelliJ section to create a new project. Here is a summary of the tasks you must complete:

  1. Run IntelliJ and select Create New Project
  2. Select Scala and sbt
  3. Input the name of the project, such as Examples
  4. If the selected directory doesn't exist, IntelliJ will ask you if you want to create it – select OK

As soon as you accept that you are going to create the directory, IntelliJ is going to download all the necessary dependencies and build the project structure. Be patient, as this could take a while, especially if you do not have a good internet connection.

Once everything is downloaded, you should have your IDE in the following state:

Notice the folder structure. The source code is under src/main/scala and the test code is under src/test/scala. If you have used Maven before, this structure should sound familiar.

主站蜘蛛池模板: 旬邑县| 乌拉特后旗| 大石桥市| 都昌县| 五河县| 苗栗县| 大荔县| 台南县| 华池县| 潮安县| 会昌县| 巴楚县| 阿城市| 武胜县| 朝阳县| 九江县| 西畴县| 泰宁县| 康定县| 通榆县| 江北区| 青浦区| 松江区| 龙山县| 于田县| 瓦房店市| 牙克石市| 昌邑市| 盐亭县| 伊吾县| 曲阳县| 苏尼特右旗| 武强县| 乌鲁木齐市| 宜川县| 南宁市| 康平县| 宜昌市| 正阳县| 青田县| 新干县|