Intellij为方法和类生成javadoc [英] Intellij generate javadoc for methods and classes

查看:464
本文介绍了Intellij为方法和类生成javadoc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用@author和@since日期自动设置Intellij为方法和类生成javadoc?

我在Eclipse中有这个功能。

我知道,这些文件有模板,我也可以手动半自动地将javadoc添加到选定的方法/类中。但是我想为每个生成的方法/类/枚举/接口/字段等自动生成代码。

这对于例如提取方法,覆盖/实现,创建getter / setter等。

这将节省数百个手动操作。

我正在使用IntelliJ Idea 9.0 BETA社区版,#IC-90.96。

TIA。

Is it possible to set up Intellij to generate javadoc for methods and classes, automatically, with @author and @since date ?
I had this feature in Eclipse.
I know, that files have templates and also i can manually semi-automatically add javadoc to selected method/class. But i want the generation to be automatic for every generated method/class/enum/interface/field etc.
This is useful for e.g. "extract method", "override/implement", "create getter/setter" etc.
This would save hundreds of manual actions.
I'm using IntelliJ Idea 9.0 BETA Community Edition, #IC-90.96.
TIA.

推荐答案

目前还不可能。您可能需要投票支持 IDEABKL-1787

It's not possible at the moment. You may want to Vote for IDEABKL-1787.

这篇关于Intellij为方法和类生成javadoc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆