plugin to generating project structure

Answered

Hi

I want to develop a plugin that could help developer to generate template with some given inputs. Is there any documentation or reference to generate structure for.

 

 

Thanks

Sanjay

0
4 comments

A simple way would be to provide your custom implementatino of ModuleBuilder and use com.intellij.ide.util.projectWizard.ModuleBuilder#getAdditionalFields to provide simple input fields to use when generating structure.

0
Avatar
Permanently deleted user

Hi Yann

Thank you for your precious reply. I am looking to have a list of project templates downloaded from the repository instead of bundle them locally in plugin. Any suggestion pls.

 

Thanks

0

Please take a look at com.intellij.platform.templates.RemoteTemplatesFactory which does something similar

0
Avatar
Permanently deleted user

Hi Yann

Thank you again. I am able to load project templates locally and trying to have same from remote and I got this

https://github.com/JetBrains/intellij-community/tree/master/java/idea-ui/src/com/intellij/platform/templates 

but not getting  steps to use RemoteTemplateFactory in my plugin project.

Thanks

 

0

Please sign in to leave a comment.