Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse generated Javadoc ${date} format

Tags:

eclipse

Is it possible to change the way ${date} value is set by Eclipse when writting Javadoc ? The default one does not suit me.

enter image description here

enter image description here

like image 564
Comencau Avatar asked Sep 18 '15 12:09

Comencau


2 Answers

This was a bug of Eclipse, solved in Bug 75981 . Its solution is able with recent Eclipse Neon.

More information: https://stackoverflow.com/a/35231005/1197323

As said in this post, you can edit the template date in "Preferences->Java->Code Style->Code Templates":

enter image description here

And it will change the date format:

enter image description here

like image 65
davidml Avatar answered Nov 11 '22 15:11

davidml


if you want to change the format of your eclipse date, just add following two lines to the eclipse.ini file:

-Duser.language="language code" -Duser.region="language code"

like

-Duser.language=hi -Duser.region=Hi

I think it will help.

like image 3
tpsaitwal Avatar answered Nov 11 '22 16:11

tpsaitwal