eclipse样式配置(author,代码样式等)

来源:互联网 发布:java 网店系统 轻量 编辑:程序博客网 时间:2024/05/15 12:39

1:设置eclipse自动生成的author等注释

indow->preference->java->codestyple->codetemplate->type

上图:


/**
 * @author larry
 * @email   larry.lv.word@gmail.com
 * @version 创建时间 ${date} ${time}
 * ${tags}
 */

 

2:设置代码宽度,用于ctrl+shift+f的时候不会换行。

直接上图;需要注意的是系统样式不能修改,只能新建一个样式来应用:

需要修改2处: