Project templates with parameters

Answered

When I click Tool/Save Project as Template, there's an option "Replace parameters with placeholders". However, I cannot find anywhere how to add/modify these parameters and how to use them in the files already included in my project. Could someone please help?

Thanks.

3 comments
Comment actions Permalink

IDEA has a number of built-in project template parameters, such as base package name or application server name. If you choose to replace them with placeholder, on new project creation you will be prompted to fill those parameters with some values.

I agree that UI is not clear about it. Could you please file a request to our bug tracker?

0
Comment actions Permalink

Hi, 

is there any documentation about which built-in project template parameters exists? Would be nice to see such documentation.

Thanks.

0
Comment actions Permalink

There are currently two parameters: base Java package and application server (listed here: https://www.jetbrains.com/help/idea/save-project-as-template-dialog.html).

0

Please sign in to leave a comment.