- Scala Programming Projects
- Mikael Valot Nicolas Jorand
- 367字
- 2021-07-23 16:25:11
Installing IntelliJ IDEA
Go to https://www.jetbrains.com/idea/download. Download the community edition for your platform. The ultimate edition offers more features, but we will not use them in this book.
The following are the steps to install IntelliJ IDEA:
- Run IntelliJ Idea.
- Select the Do not import settings option:
Choose a UI theme. I personally prefer Dracula, since a dark background saves battery on a laptop and is more gentle on the eyes:
Create a desktop entry by checking the options given:
- In the Create Launcher Script dialog window, check the create a script... checkbox. It will let you open files in IntelliJ from the command line:
- Customize the plugins. For each component, click on Customize... or Disable All. We will not need most of the plugins. You can only select the following:
- Build Tools: Disable All.
- Version Controls: Only keep Git and GitHub.
- Test Tools: Disable All.
- Swing: Disable.
- Android: Disable.
- Other Tools: Disable All and keep Bytecode viewer, Terminal, and YAML.
- Plugin Development: Disable.
You can see the aforementioned plugins in the following screenshot:
- Install the featured plugins—some additional plugins are proposed for you to install, such as the Scala plugin and a tool to learn the essential features of IntelliJ.
- Click on the Install button for Scala and for the IDE Features Trainer, as shown in the following screenshot, and then proceed by clicking on Start using IntelliJ IDEA:
If you are already a Vim aficionado, you can install IdeaVim . Otherwise, I would recommend that you avoid it. I personally use it daily, but it took me some time to get used to it.
- Click on Create New Project | Scala | sbt:
- Fill in the following details, as shown in the following screenshot:
- Name: scala_fundamentals.
- JDK: Click on New and then select the installation directory of the Oracle JDK.
- sbt: Choose the version 1.0.4, check Sources.
- Scala: Choose the latest version 2.12.x, for instance 2.12.4 (IntelliJ lists all the possible versions and will download the one you choose), and check Sources.
- Click on Finish.
It is going to take some time depending on your internet connection's speed:
- You should see the following project structure:
推薦閱讀
- 黑客攻防實戰(zhàn)技術(shù)完全手冊:掃描、嗅探、入侵與防御
- 智慧城市:大數(shù)據(jù)、互聯(lián)網(wǎng)時代的城市治理(第4版)
- 高校網(wǎng)絡(luò)道德教育研究
- 光網(wǎng)絡(luò)評估及案例分析
- 工業(yè)控制網(wǎng)絡(luò)安全技術(shù)與實踐
- 網(wǎng)絡(luò)創(chuàng)新指數(shù)研究
- 農(nóng)產(chǎn)品物聯(lián)網(wǎng)研究與應(yīng)用
- 互聯(lián)網(wǎng)安全的40個智慧洞見:2014年中國互聯(lián)網(wǎng)安全大會文集
- 計算機網(wǎng)絡(luò)與通信(第2版)
- 計算機網(wǎng)絡(luò)原理與應(yīng)用技術(shù)
- C/C++串口通信:典型應(yīng)用實例編程實踐
- 網(wǎng)管員必讀:網(wǎng)絡(luò)管理(第2版)
- CCNP TSHOOT(642-832)認證考試指南
- 網(wǎng)絡(luò)環(huán)境中基于用戶視角的信息質(zhì)量評價研究
- 4G小基站系統(tǒng)原理、組網(wǎng)及應(yīng)用