NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Find Declaration from phpDoc


Joined: 06 Aug 2007
Posts: 13
Reply with quote
Hello,

"Find Declaration" works good on class names in the code. But could you please also implement it for phpDoc (or vDoc) comments like /** @var class_name */?

Thank you!
View user's profileFind all posts by shimasoftSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
find declaration works fine with phpdoc.
Code below works fine and shows mymethod as expected:

Code:

class class_name {
  function mymethod() {}
}

/** @var class_name */
$a->

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


Joined: 06 Aug 2007
Posts: 13
Reply with quote
I'm not talking about the writing of code. I'm talking about code reading. Press Ctrl and click "class_name" near @var. Nothing happens. But other IDEs bring you to the class declaration. It's very handy, especially when there are no explicit method/property declaration and the click on method name in $a->method() doesn't bring you to the class too (please don't tell me about @method, it's not the case).
View user's profileFind all posts by shimasoftSend private message
Find Declaration from phpDoc
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