php - Code completion of my classes in netbeans 8 -


how enable code completion clases , methods create in code in netbeans 8.

thanks, dion

you should google kinda thing, i'm in mood answer question :-)

anyway, ide's read code in pretty same way. can't attest netbeans (i use phpstorm), general idea make sure add docblocks classes, methods etc. ide reads these , can provide decent code-completion.

<?php  namespace app;  /**  * class myclass  * stuff  * @package app  */ class myclass extends someotherclass {     /**      * var      * @var string      */     public $myvar = 'some val';      /**      * method      * @param string $yourstring      * @return somethingelse      */     public function mymethod ($yourstring)     {         $this->myvar = $yourstring;         return new somethingelse($this->myvar);     } } 

have @ phpdoc site tag syntax. ide's have way of generating well.


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -