让eclipse自动生成的注释的时间显示英文,不用中文

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

在右边的注释模板中编辑File Comment,改成你想要的模式。比如:

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

再在eclipse的安装目录上找到eclipse.ini文件,加入:-Duser.language=en_US

重启eclipse。现在${date}变量生产的日期就是全英文了。

来源:http://blog.csdn.net/kingson_wu/article/details/40371101

原文地址:https://www.cnblogs.com/wwssgg/p/15175761.html