I just downloaded the plug in for Scala in IntelliJ and have created a project but now have various errors I read that the problem can be that I am missing a library. But when I try and go to project structure -> dependencies to add a library I have no clue where in the files to look for a library. The errors are really simple but I can't seem to figure it out.
Any suggestions would be helpful :)
Scala source files end in
.scala
, not.java
. Try renamingCounter.java
toCounter.scala
. This should improve things a lot.