2 min read

The Scala Plugin is used to turn a normal IntelliJ IDEA into a convenient Scala development environment. In this article, we will discuss how to set up Scala Plugin for IntelliJ IDEA IDE.  If you do not have IntelliJ IDEA, you can download it from here.

By default, IntelliJ IDEA does not come with Scala features. Scala Plugin adds Scala features means that we can create Scala/Play Projects, we can create Scala Applications, Scala worksheets, and more.

Scala Plugin contains the following technologies:

  • Scala
  • Play Framework
  • SBT
  • Scala.js

It supports three popular OS Environments: Windows, Mac, and Linux.

Setting up Scala Plugin for IntelliJ IDE

Perform the  following steps to install Scala Plugin for IntelliJ IDE to develop our Scala-based projects:

  1. Open IntelliJ IDE:
  1. Go to  Configure at the bottom right and click on the Plugins option available in the drop-down, as shown here:
  1. This opens the Plugins window as shown here:
  1. Now click on InstallJetbrainsplugins, as shown in the preceding screenshot.
  1. Next, type the word Scala in the search bar to see the ScalaPlugin, as shown here:
  1. Click on the Install button to install Scala Plugin for IntelliJ IDEA.
  2. Now restart IntelliJ IDEA to see that Scala Plugin features.
  3. After we re-open IntelliJ IDEA, if we try to access File | New Project option, we will see Scala option in New Project window as shown in the following screenshot to create new Scala or Play Framework-based SBT projects:

We can see the Play Framework option only in the IntelliJ IDEA Ultimate Edition. As we are using CE (Community Edition), we cannot see that option.

It’s now time to start Scala/Play application development using the IntelliJ IDE. You can start developing some Scala/Play-based applications.

To summarize, we got an understanding to Scala Plugin and covered the installation steps for Scala Plugin for IntelliJ.

To learn more about solutions for taking reactive programming approach with Scala, please refer the book Scala Reactive Programming.

Read Next:

Publishing Product Manager interested in learning how emerging technologies are making the world a better place | Still learning to write better and read more.

LEAVE A REPLY

Please enter your comment!
Please enter your name here