play-scalajs-showcase
play-scalajs-showcase copied to clipboard
crossProject can't recognize "import shared.xxx" under Other 2 projects
i was using intellij 14, git cloned , imported this project. and find something innormal that ".scala" files which having import shared.xxx under example-server and example-client . For example: play-scalajs-showcase/example-server/app/controller/interopController.scala import share.foo._ the "import share.foo._" is grey(can't be located), and of corse"[KV]" "[Foo]" are all red.
i guess there's something related to crossProject, but i can't figure it out
ln -s pathto/example-shared/src/main/scala/shared pathto/example-client/src/main/scala cp -r pathto/example-shared/src/main/scala/shared pathto/example-server/app
can solve this problem, now another problem occurs, soft link works on example-client, only copy dir can work on example-server, so weired
I just upgraded sbt-play-scalajs plugin. Not sure whether it helps. Anyway, it works fine with Intellij 14.1.5 in my machine.