I have a multi module gradle project in Idea. All modules are kotlin 1.1.1, but one targets JS using 1.1.2. The project builds from command line fine. However Idea reports the error above source files in the editor “Kotlin not configured”. Idea does not index any of my classes so I’m not getting any of the normal Idea features like “Go to Declaration” which does nothing.
My Idea project appears to be correctly configured to use Kotlin targeting JS, correctly importing these settings from gradle. But they aren’t actually propagating into Idea.
When I run a gradle task from the gradle panel, the Run panel reports error “Configure settings”. There are no details on what is not configured.
Gradle plugin version 171.4249.39
Kotlin plugin version 1.1.2-release-IJ2017.1-2
IntelliJ IDEA 2017.1.2 Build #IU-171.4249.39, built on April 25, 2017
On Mac OS X 10.12.4
I don’t know how to fix this. It’s really unhelpful as far as telling me what is not configured.