Scala Environment Setup – How to install the Scala plugin in IntelliJ version 2019?

By Nadim Bahadoor | Last updated: February 2, 2020 at 17:39 pm

Overview

The previous tutorial also illustrated how to install the Scala Plugin for the IntelliJ IDEA code editor. However, as of the IntelliJ IDEA version 2019, the general plugin screen has undergone some changes. As a result, this tutorial, will cover installing the Scala plugin using the most recent IntelliJ IDEA version 2019. If you have an older version of the IntelliJ IDEA code editor, you can still refer to the previous tutorial for the corresponding instructions.

If you are relatively new to Scala, and the IntelliJ IDEA code editor, there is no need to worry, as the steps to install the Scala Plugin is very straightforward.

 

Steps

1. Start IntelliJ
If you have followed the previous tutorials, you should have the most recent IntelliJ IDEA code editor version 2019 already installed.

On Mac, click on the icon in your taskbar.

 

intellij_installer_5

 

On Windows, click on IntelliJ menu item from your Windows Start menu:

 

install_intellij_10

 

This will open the IntelliJ IDEA code editor's welcome window:

 

intellij_installer_7

 

NOTE:

2. Open IntelliJ preferences

On Mac, select the Preferences menu item from the Configure menu as shown below.

 

01-07-01-mac-intellij-preferences

 

On Windows, click on the Configure and then select the Settings menu item from the Welcome Window in Step 1:

 

install_intellij_11

 

3. Find and install Scala Plugin

Once you have opened the Preferences, or Settings, screen you can click on the Plugins section. Next, you can type Scala in the search box, and this should bring up the Scala Plugin details. Click on the Install button of the Scala Plugin to install it.

01-07-02-intellij-install-scala-plugin

When the installation has completed, you will typically have to restart the IntelliJ IDEA code editor. Follow the restart instructions, accordingly.

 

 

 

 

 

 

 

That's it! You have successfully installed your first IntelliJ IDEA plugin, and it was the handy Scala plugin that will help you easily create, compile, and run, our Scala application within the comfort of the IntelliJ IDEA code editor.

 

This concludes our tutorial on Scala Environment Setup - How to install the Scala plugin in IntelliJ 2019 and I hope you've found it useful!

 

Stay in touch via Facebook and Twitter for upcoming tutorials.

 

Don't forget to like and share this page :)

Summary

In this article, we went over the following:

  • How to install the Scala plugin in the IntelliJ IDEA code editor version 2019.

Tip

  • As the Scala language moves forward with, say, new versions or features, these will certainly make their way into the Scala plugin. Over time, therefore, you will have to update the Scala plugin to benefit from respective latest upgrades. As a matter of fact, the same is true for working with the latest version of the IntelliJ IDEA - you should update to its latest version.

Source Code

The source code is available on the allaboutscala GitHub repository.

 

What's Next

In the next tutorial, you will write your first Scala application which will be a simple Hello World application. But, you will be using your IntelliJ IDE and the Scala plugin that we have installed in this tutorial.

 

Stay tuned!

Nadim Bahadoor on FacebookNadim Bahadoor on GithubNadim Bahadoor on LinkedinNadim Bahadoor on Twitter
Nadim Bahadoor
Technology and Finance Consultant with over 14 years of hands-on experience building large scale systems in the Financial (Electronic Trading Platforms), Risk, Insurance and Life Science sectors. I am self-driven and passionate about Finance, Distributed Systems, Functional Programming, Big Data, Semantic Data (Graph) and Machine Learning.
Other allaboutscala.com tutorials you may like:

Share this article on