samedi 9 mai 2015

What is the meaning of ProjectTemplate tag in plugin.XML intellij?

I am new to intellij plugin development. I am studying on some plugins from repositories to start my project on developing an IDEA plugin. I need to create a new project wizard which is specific to my plugin. Thus I am using <extentions></extention> tags in plugin.xml. In some projects I went through, had <moduleBuilder> tag within them. But instead I found different tag like this.

 <projectTemplate projectType="MyApplication" templatePath="resources/filename.zip" category="true"/>

In this project there is no any "filename.zip" but works fine. This plugin creates a folder hierarchy after running which is like a template. Please can someone explain me about these tags? What is the difference between <projetTemplate> and <moduleBuilder> which are written within <extention></extention> tags?

Aucun commentaire:

Enregistrer un commentaire