How can I add SyntheticMembersInjector implementation as an extension to a plugin?

The old plugin.xml syntax for that is highlighted in red in my IDE:
<extensions defaultExtensionNs="org.intellij.scala">
<syntheticMemberInjector implementation="com.spotify.scio.ScioInjector"/>
</extensions>

Tried this, does not work either:
<extensionPoints>
<extensionPoint name="languageInjector"
interface="macroplugin.Injector"/>
</extensionPoints>

1 comment
Comment actions Permalink

The extension point seems valid to me https://github.com/JetBrains/intellij-scala/blob/idea192.x/scala/scala-impl/resources/META-INF/scala-plugin-common.xml#L16

What is "old" plugin.xml syntax? Is the dependency to Scala plugin version compatible with chosen target IDE version?

0

Please sign in to leave a comment.