Intellij Idea Adds Scala Support to Existing Java Project

Intellij Idea adds Scala support to an existing Java project. I just can't figure out how to add a Scala worksheet to an existing Java project? It would be nice to have a Scala REPL or worksheet. But after resiarsh and trying, I could not do this.

+5
source share
1 answer

To add Scala support for an existing module:

  • Right-click the module in the project view, select "Add platform support ..."
  • Check "Scala" in the technology list (not available if the module has a Scala facet)
  • Specify the path to install Scala (if not found)

From http://blog.jetbrains.com/scala/2010/09/02/project-configuration-explained/ .

+6
source

Source: https://habr.com/ru/post/1215885/


All Articles