NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Code insight & PhpDocumentor tags
Veteran

Joined: 22 Feb 2006
Posts: 106
Reply with quote
Hi Dmitri and and the whole Nusphere team,

I've just discovered a really annoying bug in the code insight function, while using PhpDocumentor tags:

If I add a comment to the type of the class in parameter, PhpEd doesn't seem to recognize the paramer type anymore:

/**
*@param classA // PhpEd recognizes the parameter $a as classA
*@param classB The Class B // PhpEd doesn't recognize the parameter $b type, although comments are normally allowed after the type in the tags
*/
public function getC(classA $a, classB $b)
{...}

A full code example is illustrated in the snapshot below :



Thanks in advance for quickly correcting this bug - maybe try to parse the type by splitting on space after @param -, as I'm trying to add tags and comments while I'm coding and I'm loosing the code insight functionality, which is vital !

Happy new Year and I wish you all the success for the years to come !

PS : I've noticed too that the comment after a "@return" tag doesn't appear in the tooltip on the Code Explorer window; too bad !
View user's profileFind all posts by medifirstSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Thanks for the report, we fixed this in build 4633:

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 22 Feb 2006
Posts: 106
Reply with quote
Great ! I hope it will be quickly available !
View user's profileFind all posts by medifirstSend private message
Code insight & PhpDocumentor tags
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic