scala - Tell intelliJ to compile module with scalac in a java project? -


i have java project in intellij , i've added few modules, 1 of has scala code in it.

i want tell intellij compile module scalac not javac, can't figure out configure it, , when try compile gives me error, "cannot create instance of scalac"

per https://intellij-support.jetbrains.com/hc/en-us/community/posts/206001829-project-configuration-explained:

a module requires compiling scalac should have scala facet attached.

and further down (what think want):

to add scala support existing module:

  • right-click module in project view, choose "add framework support..."

  • check "scala" in technologies list (unavailable if module has scala facet attached)

  • provide path scala installation (if not detected)


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -