问题
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