vicaba
vicaba

Reputation: 2876

Set changing scala project dependency in Intellij IDEA 14 (for code completion and inspection)

I'm currently developing a multi-project Scala application in IntelliJ IDEA 14 with SBT. Projects have dependencies (dependency projects) between them and I need IntelliJ IDEA to inspect code from all projects, at least, from the projects I use from the current project (working project). I need IntelliJ IDEA to update this inspection (e.g. syntax highlighting) automatically after a change in a dependency project.

This is what I've tried:

Any suggestion?

Upvotes: 0

Views: 90

Answers (1)

Karl
Karl

Reputation: 1230

Your last attempt with RootProject(...) should work, I use that very same method in numerous multi-project builds. Do you have auto-import enabled on your build file in IDEA? I've had issues with indexing/caching issues so I'd also try restarting IDEA after making sure your build file is appropriately imported. If you are still having issues I'd then check to make sure the WCommon project is opening cleanly in IDEA by itself.

Upvotes: 1

Related Questions