JetBrains / sbt-idea-plugin

Develop IntelliJ plugins with Scala and SBT
Apache License 2.0
98 stars 28 forks source link

IDEA xmls not generated when importing project without sbt-shell #61

Closed mutcianm closed 4 years ago

mutcianm commented 4 years ago

To automatically generate artifact definitions and run configurations when importing a project with IJ IDEA one must use "sbt-shell" import method in IJ otherwise the createIDEARunConfiguration and createIDEAArtifactXml tasks will not be called. This happens due to some classloading hacks used in sbt-structure-extractor when running in headless mode.