NetBeans PHP code completion for own code

后端 未结 5 1056
故里飘歌
故里飘歌 2020-11-30 04:42

Recently I started using NetBeans 6.7 beta for PHP development instead of Textmate and MacGDBp. I am rather amazed with it\'s feature set and most everything worked out of t

5条回答
  •  醉酒成梦
    2020-11-30 05:31

    Be aware of @property something syntax. If object something does not exists in your code anymore, NetBeans might have problems with proper code completion. Consider example:

    /** in main file: **/
    
    use ABC as _ ;
    

    /** in file ABC: **/
    
    /** 
      *  @property \Something $something
      */
    

    If you do not use $something anymore, NetBeans will most likely generate an exception, thus failing to complete the code.

提交回复
热议问题