Setup IntelliJ for Scala Development.

Gobalakrishnan Viswanathan
3 min readSep 4, 2021

What is Scala from its official doc

Scala combines object-oriented and functional programming in one concise, high-level language. Scala’s static types help avoid bugs in complex applications, and its JVM and JavaScript runtimes let you build high-performance systems with easy access to huge ecosystems of libraries.

For now, Let’s not much worry about what is Scala and why is it for. Main goal of this post is to document on how to setup IntelliJ for Scala documentation.

Download IntelliJ from below link (free version). This will download an application around 650 MB. Once download, click it and install which is very straight forward.

https://www.jetbrains.com/idea/download/#section=windows

After installed IntelliJ, Open it. Before creating our first project, Lets install the Scala plugin needed. Click plugins option in the left panel, there you can see Scala plugin at first (may be!) or search and get the plugin and install it. After that, you may need to restart to apply the plugin changes to the editor.

Now, Click on the new project. Select Scala from left panel. In the main window, select IDEA as given in the below image.

Now click next, you can see the below options given in the image.

  • Give Project name as your wish
  • You can select Project location wherever needed.
  • JDK will be automatically selected for you if you have it in your system or else you can download from the Oracle site.
  • For me, when I do this setup process, Scala SDK option not shown up. If same case for you, click on the create button, you will see the image below. There click on the download button where you will see Scala versions in the dropdown. There you can select the version you needed.

That’s it. Now you are all set to begin your Scala development. Done for this post. Lets meet again with some useful tech. Ta-Ta.

Thanks,
Gobalakrishnan Viswanathan.

--

--