How to add current date in setter and getter templates

Answered

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
2 comments

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

Please sign in to leave a comment.