Edit Comment Template in Netbeans PHP 6.8 [duplicate]

北城以北 提交于 2019-12-01 18:03:52

问题


I would like to ask is there any way change the comment code template in Netbeans PHP 6.8

In eclipse, when I type /** ENTER , it would come out the comment template that I set in the setting, like this:

/**
* Apr 19, 2010 - Shiro
* Description
*
* @return unknown_type
*/
function test()
{

}

by Default Netbeans only will show the parameter in the function.

/**
  *
  * @param <type> $order_No
  * @param <type> $array 
  */

in Netbeans is there any possible I could found any customization about this, anyone know where is the setting for this?


回答1:


In some way I feel NetBeans is just doing it right - Eclipse seems to mimic a "poor man's version control". But there are tons of free VCS, so why bother?




回答2:


You go to menu:

Tools -> Options -> Editor -> Code Templates

You can select language: PHP

You'll have a list of the code templates that you can customize to your needs.



来源:https://stackoverflow.com/questions/2664934/edit-comment-template-in-netbeans-php-6-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!