eclipse修改默认的author
来源:互联网 发布:免流软件吧 编辑:程序博客网 时间:2024/05/08 18:18
什么东西都可能会被忘掉,我这种记性不好的就更容易忘了。换了电脑后eclipse中的@author变了,于是找了下修改@author的方法:
1. 在eclipse.ini中添加
-vmargs
-Duser.name={author name}
记得一定要在-vmargs之后,否则无效。
2. 设置eclipse参数
windows-->preference
Java-->Code Style-->Code Templates
code-->new Java files
原来的内容是:
${filecomment}
${package_declaration}
${typecomment}
${type_declaration}
添加自定义内容,添加之后内容如下:
${filecomment}
${package_declaration}
/**
* @author 作者 E-mail:
* @version 创建时间:${date} ${time}
* 类说明
*/
${typecomment}
${type_declaration}
3. 设置eclipse参数
windows-->preference
Java-->Code Style-->Code Templates
Comments-->files
按照需要修改配置,并且保证上面项的配置中有${filecomment}这项。
1. 在eclipse.ini中添加
-vmargs
-Duser.name={author name}
记得一定要在-vmargs之后,否则无效。
2. 设置eclipse参数
windows-->preference
Java-->Code Style-->Code Templates
code-->new Java files
原来的内容是:
${filecomment}
${package_declaration}
${typecomment}
${type_declaration}
添加自定义内容,添加之后内容如下:
${filecomment}
${package_declaration}
/**
* @author 作者 E-mail:
* @version 创建时间:${date} ${time}
* 类说明
*/
${typecomment}
${type_declaration}
3. 设置eclipse参数
windows-->preference
Java-->Code Style-->Code Templates
Comments-->files
按照需要修改配置,并且保证上面项的配置中有${filecomment}这项。
- eclipse修改默认的author
- Eclipse修改默认Author
- Eclipse 修改默认的author 作者
- Eclipse中添加注释时修改默认的@author
- 如何修改eclipse中@author的默认选项
- Eclipse添加javadoc时候显示的默认@author ${user}修改添加javadoc时候显示的默认@author ${user}修改
- Eclipse中@author的修改
- Eclipse中@author的修改
- Eclipse中@author的修改
- Eclipse中@author的修改
- Eclipse中@author的修改
- eclipse修改@author的默认值
- Eclipse修改@author:的默认值
- Eclipse中@author的修改
- 修改Eclipse的@author信息
- 修改Eclipse和My Eclipse里的默认作者名(@author的修改)
- 更改eclipse(myeclipse) author的默认名字 --- 修改MyEclipse eclipse 注释的作者
- 更改eclipse(myeclipse) author的默认名字 --- 修改MyEclipse eclipse 注释的作者
- GESE优势
- 跨平台的C++开发环境 CodeLite IDE
- PHP页面之间传递参数的四种方式
- java.lang.ClassNotFoundException: org.apache.commons.collections.map.ListOrderedMap解决方法
- Servlet过滤器
- eclipse修改默认的author
- 各人工作笔记-centos5中的apache2
- 连接确定的库
- HibernateDaoSupport的说明
- 读取文本文件内容
- BLL调用sqlhelper
- TCC8902 (十) 开机加进度条的办法
- 练习 单点登录(sso)
- SQL获取数据表中非空数据列