How to add current date in setter and getter templates

已回答

I would like to add current date (including year, month, day) when I am generating the setter and getter by templates. I kown the template is following the Velocity template. I have try ${date}, ${year}, ${DATE} and ${datatool.date} but I still cannot generate the date in the template.

0

Hello, 

Unfortunately you can't do this currently. Please follow (vote for) the issue that may solve the case: https://youtrack.jetbrains.com/issue/IDEA-233603

 

Thank you 

0

Thanks for your reply Olga Klisho.

I read the link our provided. I know other developers have meet this kinds of problem two years ago, but there are not any solution for this problem.

0

请先登录再写评论。