eclipse 如何让javadoc自动生成。

    方法一:Eclipse中设置在创建新类时自动生成注释
    windows-->preference
    Java-->Code Style-->Code Templates
    code-->new Java files
    编辑它
    ${filecomment}
    ${package_declaration}
    ${typecomment}
    ${type_declaration}

    方法二:

    通过菜单 Window->Preference 打开参数设置面板,然后选择:
    Java -> Code Style -> Code Templates

猜你喜欢

转载自lvzhou-31.iteye.com/blog/2076808