

IntelliJ will prompt you as shown below to Setup Scala SDK.Ģ.Now install Scala SDK, if you already have downloaded Scala you can point it to the local filesystem or you can download the Scala libraries from the IntelliJ itself. You will see the project created on IntelliJ and shows the project structure on left Project panel. On next screen, review the options for artifact-id and group-id I am naming my project as scala-hello-world-example.Ħ. In the next window, enter the project name. Since we have selected Scala archetypes, it downloads all Scala dependencies and enables IntelliJ to write Scala code.ĥ. The archetype is a kind of templates that creates the right directory structure and downloads the required default dependencies.Select New Project to open New Project window.Ĥ.Name the class Hello and change the Kind to object.If you only see Scala Worksheet try expanding the src folder and its main subfolder, and right-click on the scala folder. If you see Error: library is not specified, you can either click download button, or select the library path manually. If you don’t see Scala class, right-click on HelloWorld and click on Add Framework Support…, select Scala and proceed.


