ITeye博客

Eclipse中设置在创建新类时自动生成注释

xxtianxiaxing · 2009-04-03 14:57 · web · Markdown


2009-01-09
Eclipse中设置在创建新类时自动生成注释
Eclipse中设置在创建新类时自动生成注释 
windows-->preference 
Java-->Code Style-->Code Templates 
code-->new Java files 

点edit,编辑它 

${filecomment} 
${package_declaration} 
/** 
* @author 作者 E-mail: 
* @version 创建时间:${date} ${time} 
* 类说明 
*/ 
${typecomment} 
${type_declaration} 

取消拼写检查: 
windows-->preference-->general-->editors-->text editors-->spelling 

Content提示: 
windows-->preference-->general-->keys-->Content Assist 

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。