Netbeans 8 自动将作者添加到方法注释

Netbeans 8 auto add author to method comment

当我输入方法并通过 /** enter 生成注释时。 它会生成这样的评论。

/**
* @param int $weight
* @return \KT_Forbes_Theme_Model
*/

是否可以自动添加@author?

/**
* @author A good guy
* @param int $weight
* @return \KT_Forbes_Theme_Model
*/

我必须为所有方法手动添加@autor,这真的很麻烦。

似乎在 https://netbeans.org/bugzilla/show_bug.cgi?id=251426. Also there are some related posts about this issue Modify command / template for function commenting in NetBeans. Triggering with "/** + Enter key" or Edit Comment Template in Netbeans PHP 6.8 中报告的当前 NetBeans 版本中是不可能的(最后一个没有解决问题 - 至少在 NetBeans 8.1 中)。

我目前正在与 IDE 斗争以将自动评论包含在一些数据中,因为添加的评论看起来像:

/**
 *
 */

没有包含任何信息。

此输出通常针对没有参数的 void 方法给出。
即 public void parameterMapping()

对于具有参数和 return 值的方法应如下所示:

/**
 *
 * @param parameter
 * @return
 */
private ASTNode recursiveParameterParser(ASTNode parameter)