How to create single module wizard step with generic Name and Location? (direct Create, no wizard steps)

Answered

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?

0
5 comments

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.

0

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.

0

Did you manage to do it?

0

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.

1

Please sign in to leave a comment.