I am using Kubuntu 14.4, I have Scala 2.9.2 installed and IntelliJ 2016.1 with the Scala plugin in version 3.0.2. When I create a new Scala project (not sbt project) and then right-click on src
and then new
, I expect the option to create a new Scala worksheet. However, I don't get that option. What do I need to do, to get the option?
PS: In fact I don't get any option related to creating Scala-something.
Right-click your project and select New|Scala Worksheet. We recommend that you create an . sc file in the src directory to avoid problems with code highlighting. In the New Scala Worksheet window, type the name of the file and click OK.
To install Scala plugin, press Ctrl+Alt+S , open the Plugins page, browse repositories to locate the Scala plugin, click Install and restart IntelliJ IDEA. Now you can successfully check out from VCS, create, or import Scala projects.
Press Ctrl+Alt+S to open the IDE settings and select Build, Execution, Deployment | Build Tools | sbt. In the sbt projects section, select a project for which you want to configure build actions. In the sbt shell section, select the builds option. Click OK to save the changes.
Framework Support needs to be added to the project:
Add Framework Support...
Scala
and set the settings.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With