How to use GeneratorNewProjectWizardBuilderAdapter for Project create only, not Module?
I've created own project generator based on GeneratorNewProjectWizard
and registered in New Project/Module dialog using GeneratorNewProjectWizardBuilderAdapter
. Works great for creating new projects but there are some glitches while creating module.
How to hide my generator from New Module dialog?
I've tried
override fun canCreateModule(): Boolean {
return false
}
but it does not affect menu item visibility
请先登录再写评论。
One of possible solutions (workaround?) provided in https://intellij-support.jetbrains.com/hc/en-us/community/posts/13867414023058/comments/18546489297042 please answer if there is a better way.