BUG: Intellij Idea errors on packages import in Scala Cross-platform project #27589

I'm currently trying to implement a Scala cross-platform project using the sbt-crossproject plugin.

In the shared module i can't import Scala classes of other packages. If i compile from sbt there are no errors and the project runs correctly but Idea still doesn't recognize classes from other packages in /shared.

The project repo is here but you can reproduce it importing https://github.com/AndreaGiulianelli/scala-cross-project/ with sbt and opening the Prova2.scala source file.

Any suggest?

2

Please sign in to leave a comment.