简体   繁体   English

netbeans中的函数头注释

[英]Function header comments in netbeans

How to generate these kind of function header comments in Netbeans? 如何在Netbeans中生成这些函数头注释? Is the any shortcut that would give a template along with the parameter names? 是否有任何快捷方式可以提供模板以及参数名称?

/**
* 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)
{
}

Just above the method, constructor or field, type /** and follow by pressing enter key immediately. 在方法,构造函数或字段的上方,键入/**然后立即按Enter键。 Netbeans should generate template for javadoc. Netbeans应该为javadoc生成模板。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM