Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

User input at file template creation

$
0
0

Hi.

 

I'm trying to create a clever DTO template, i.e. mainly a class that holds a number av values accessible through getters.

 

I know I can write $-variables in the template which will be represented by fields in my template creation popup so that I can name all my values in one place.

Like this:

templatePopup.png

 

I can also make so that if a value isn't entered in a "var.."-box, the value won't show up int the class.

 

 

But is there a way that would enable me to choose nr of values to enter in the template creation popup, so that I'm not limited to a fixed nr of values in my template?


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>