Community
Participate
Working Groups
Hello, Up to now the template feature proposes to the user to have variables in the template (see for instance the while template). It could be very nice to propose to the user a wizard window when applying a template with variables . This wizard would be used to enter the variable values (for instance in the above example iterator name and type name). Why is it useful? If you want to create your own template (for instance a template to create directly accessing methods for list instance variable ; it should create the addItem, removeItem, insertItemBefore, and so on...) it can be interesting to enter values in dialog box. Regards Xavier
another enhancement could be also to be able to give an expression which could be evaluated when generating the code of the template. For instance i want to generate the following : addElement(Object anElement) { elements.add(anElement); } in this exemple, I would like to enter "element" and I could generate all the stuff!!! I think finally it is more useful than my previous remark ;-)
*** This bug has been marked as a duplicate of 12756 ***