[英]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.