Let the time of the automatically generated comments by eclipse be displayed in English, not in Chinese.

windows -> preferences -> c/c++ -> code style -> code template

Edit File Comment in the comment template on the right and change it to the mode you want. for example:

/*********************************************
 * ${file_name}
 * Author: ${user}
 * Created on: ${date}
 ********************************************/

Then find the eclipse.ini file in the eclipse installation directory and add: -Duser.language=en_US

Restart eclipse. Now the date produced by the ${date} variable is all in English.

 

Source: http://blog.csdn.net/kingson_wu/article/details/40371101

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326603831&siteId=291194637