[英]Function header comments in netbeans
如何在Netbeans中生成这些函数头注释? 是否有任何快捷方式可以提供模板以及参数名称?
/**
* Performs the Decrease Key operation
* @param index Index of the node in the RefArray whose key is to be decreased
* @param amount Amount by which key is to be reduced
*/
public void decreaseKey(int index, int amount)
{
}
在方法,构造函数或字段的上方,键入/**
然后立即按Enter键。 Netbeans应该为javadoc生成模板。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.