Netbeans 8自动将作者添加到方法注释
当我键入方法并通过/**输入生成注释时。 它会产生这样的评论Netbeans 8自动将作者添加到方法注释,netbeans,documentation,comments,Netbeans,Documentation,Comments,当我键入方法并通过/**输入生成注释时。 它会产生这样的评论 /** * @param int $weight * @return \KT_Forbes_Theme_Model */ 是否可以自动添加@author /** * @author A good guy * @param int $weight * @return \KT_Forbes_Theme_Model */ 我必须为所有的方法添加@autor manualy,这真的很重要。在中报告的当前NetBeans版本中,这似乎是不可
/**
* @param int $weight
* @return \KT_Forbes_Theme_Model
*/
是否可以自动添加@author
/**
* @author A good guy
* @param int $weight
* @return \KT_Forbes_Theme_Model
*/
我必须为所有的方法添加@autor manualy,这真的很重要。在中报告的当前NetBeans版本中,这似乎是不可能的。还有一些关于这个问题的相关文章(最后一篇没有解决这个问题——至少在NetBeans 8.1中是这样) 我目前正在与IDE进行斗争,以将自动注释包含在一些数据中,因为添加的注释看起来像:
/**
*
*/
不包含任何信息。此输出通常用于无参数的void方法
i、 e.公共无效参数映射() 对于具有参数和返回值的方法,应如下所示:
/**
*
* @param parameter
* @return
*/
private ASTNode recursiveParameterParser(ASTNode parameter)