How to create single module wizard step with generic Name and Location? (direct Create, no wizard steps)
已回答
I want to create wizard step similar to existing generators (Maven / IDE Plugin) with direct “Create” button:
For the moment I can add custom options step to display my fields:
But still on next step I'm ending up with:
Is it possible?
请先登录再写评论。
Hi Marcin,
IDE Plugin module build is open source:
https://github.com/JetBrains/intellij-community/blob/master/plugins/devkit/devkit-core/src/module/IdePluginModuleBuilder.kt
I suggest checking its implementation.
We also plan to refresh the SDK documentation for module builders soon.
Hi, thanks for reply. Yes, I've checked it but
StarterModuleBuilder
and many other classes are not public API. I thought there might be easier way of achieving the same.I think hint from https://intellij-support.jetbrains.com/hc/en-us/community/posts/18377613898002-Import-module-as-maven-or-gradle-after-creation solves issue
Did you manage to do it?
Yes, please have a look at https://github.com/vaadin/intellij-plugin - i'm not professional Kotlin nor intellij plugin developer so code might be wonky in many places, but it works.