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?
Please sign in to leave a comment.
Indeed, use com.intellij.moduleType and return builder from com.intellij.openapi.module.ModuleType#createModuleBuilder
Yann Cebron yes, but is one "better" over the other long-term from an API point of view?
Both are valid