Create custom wizard step
Hello,
I'm currently doing a refactoring in the golang plugin so that we can set some global variables ahead of user creating the project.
While it works ok for non-IDEA IDEs (PHPStorm et. al), I don't really understand how I should change the "createWizardSteps" method from the "public class GoModuleType extends ModuleType<GoModuleBuilder>" in order to add a step in which the user is presented with a custom dialog and sets the 'GOPATH' (choose a folder).
You can view the work in progress PR here: https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/659 and the class I'm mentioning https://github.com/go-lang-plugin-org/go-lang-idea-plugin/blob/master/src/ro/redeul/google/go/ide/GoModuleType.java
Any pointers please?
Thank you.
Please sign in to leave a comment.
Read this up
https://upsource.jetbrains.com/ideace/view/c50714a89b65c6c29a49d716931c00ea5c118aed/python/pluginSrc/com/jetbrains/python/module/PythonModuleType.java;nav:1464:1480:focused;line:36
It should help you with your development.