JetBrains / sbt-idea-plugin

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

ability to specify `ideaInternalPlugins` for Test scope #16

Closed unkarjedy closed 3 years ago

unkarjedy commented 5 years ago

For now, the value of ideaInternalPlugins sbt key can only be specified for Global scope. It would be nice to be able to refine it for Test scope only. For example, I want to add "Kotlin" plugin to test the integration of some Scala plugin and Kotlin plugin modules (e.g. to test https://youtrack.jetbrains.com/issue/SCL-16093). I would like it to be added to tests classpath and I wouldn't like to pollute the Global scope, due to Kotlin classes are not required during compilation AFAIK.

NOTE: this is probably actual for other sbt keys:

mutcianm commented 3 years ago

Closing because plugin loading in tests is manages by IntelliJ platform test framework, not sbt