修改 eclipse MyEclipse 自动生成的 author

tag: 修改 eclipse MyEclipse 注释的author


打开eclipse如下操作:
window->Preferences…->Java->Code Style->Code Templates

在右侧依次选择:Comments->Type,点Edit

/**
 * @author ${user}
 *
 * ${tags}
 */

中的${user}改为你要改的名字就可以了。
例如

/**
 * @author cc
 *
 * ${tags}
 */

–EOF–

转自:http://www.wasw100.com/blog/137

你可能感兴趣的:(修改 eclipse MyEclipse 自动生成的 author)