moduleBuilder vs moduleType

Answered

Perhaps I missed something. I see plugins seeming to achieve the same thing but in two different ways, but i'm not clear on which to use and why.

Eg. a plugin using a moduleType declaration in plugin.xml versus a moduleBuilder.

Seems extra code if I declare a moduleType?

0
3 comments

Indeed, use com.intellij.moduleType and return builder from com.intellij.openapi.module.ModuleType#createModuleBuilder

0

Yann Cebron yes, but is one "better" over the other long-term from an API point of view?

0

Please sign in to leave a comment.