How to PHPDOC in NetBeans

Our favorite IDE supply this: 
  • Put a cursor above the method/class declaration; 
  • Input "/**" then enter "Enter" key;
  • According the declaration, the phpdoc template will appaer, like
    this: 
/**
     * $cursor here
     *
     * @param value
     * @return
     */
    function Foo ...
     ...

No comments:

Post a Comment