Scala Worksheet Option Not Available
Hi! I'm taking a Coursera course on functional programming. At 13:11 in the following video (https://www.coursera.org/lecture/progfun1/tools-setup-for-mac-os-x-UzicG), there is a menu option to create a Scala worksheet. This does not show up on my version of IntelliJ IDEA. Screenshot: https://snag.gy/4cDzVn.jpg
I used the following stackoverflow link to attempt to troubleshoot: https://stackoverflow.com/questions/36867112/how-to-get-the-option-to-create-a-new-scala-worksheet-in-intellij
I tried "Add Framework Support..." for Project, under Scala option, there is an Error: library is not specified. Under "Use library", [No library selected] is the only option.
I also tried setting Scala version to 2.10.4 as in http://stackoverflow.com/questions/23226478/scala-worksheet-not-working-in-intellij but this did not resolve the issue.
Please sign in to leave a comment.
Hello,
do you have Scala SDK in the module where you want to create worksheet file?
Hey, does anyone have any insight into this? Please let me know if you do! Thank you!
I also ran into this exact same issue while trying to do the setup for Windows (Windows 10 Pro), also following directions from the same Coursera course. Scala Worksheet does not show up as a possible option. When I tried to roll back to the version of sbt used in the video, I just got a bunch of errors instead.
This solved the problem for me: https://stackoverflow.com/questions/36867112/how-to-get-the-option-to-create-a-new-scala-worksheet-in-intellij
Hello, I encountered the same problems in your post and the first one is the solution for me.
After selecting Scala in adding framework support, there's an option to "Download" at the bottom left. Select the latest version and that library should show in the option after download is complete.
Then, you can see the option to add Scala Worksheet right away.
Had the same issue. Have added an answer to this on StackOverflow.
I noticed that in order to get worksheet access, I also had to "File=>New=>Edit File Templates...". In the resultant box, I had to scroll (on the LHS) down and select "Scala Worksheet" and (on the RHS) check the "Enable Live Templates" item, then click OK. Then I could do "New=>Scala Worksheet".
I encountered the same problem.
My solution:
I went ahead and created a ".sc" file using the "file" option in the menu (appearing after right clicking on any folder). Then I was asked to setup Scala SDK, I clicked on that. Following that there appears a window which would ask you to choose a SDK version. I followed what @Arcseldon mentioned in his comment. Then I was able to see the "scala worksheet" option in the menu.