perferences==>File and Code Templates==>Class
填写:
/**
* @ClassName: ${ClassName}
* @Description: ${Description}
* @Author: ${Author}
* @CreateDate: ${CreateDate}
* @UpdateUser: ${UpdateUser}
* @UpdateDate: ${UpdateDate}
* @UpdateRemark: ${UpdateRemark}
* @Version: ${Version}
*/
public class ${ClassName} {
// 类的成员变量和方法
}
这样每次新建类时都会让你填写这些参数,看吧: