---
title: "Eclipse中设置在创建新类时自动生成注释"
author: "xxtianxiaxing"
date: "2009-04-03T14:57:54Z"
tags: []
slug: "eclipse"
draft: false
lastmod: "2009-04-03T14:57:54Z"
id: 360811
url: "https://xylonwang.iteye.com/blog/360811"
---

```java

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 

```