IntelliJ IDEA 2021.1.1 can't import project with plugin enabled:
Possible cause
Recently there were some efforts to improve compatibility with IDEA and other tools in #13. In particular PR #43 introduce following change: "The reporter configuration will now assume shortenPaths = false when the system property idea.run is set". However, as @jastice suggested, property idea.run is not reliable and is not always available. Instead the plugin should use property idea.managed=true. Indeed my IDEA runs sbt with the following command:
IntelliJ IDEA 2021.1.1 can't import project with plugin enabled:
Possible cause
Recently there were some efforts to improve compatibility with IDEA and other tools in #13. In particular PR #43 introduce following change: "The reporter configuration will now assume shortenPaths = false when the system property idea.run is set". However, as @jastice suggested, property
idea.run
is not reliable and is not always available. Instead the plugin should use propertyidea.managed=true
. Indeed my IDEA runs sbt with the following command:As you see there is no
idea.run
property. Instead, there isidea.managed=true
.Tested with plugin version 0.6.5.