[ phpeclipse-Feature Requests-1637054 ] Showing constructor doc instead of class doc on new Class()

"SourceForge.net" <[email protected]> Tue, 16 Jan 2007 11:21:48 -0800
Newsgroups gmane.comp.ide.eclipse.phpeclipse.devel
Message-ID <[email protected]>
Feature Requests item #1637054, was opened at 2007-01-16 20:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484804&aid=1637054&group_id=57621

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: editor
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Seldaek (seldaek)
Assigned to: Nobody/Anonymous (nobody)
Summary: Showing constructor doc instead of class doc on new Class()

Initial Comment:
Here is the thing, with a class declared as such:

/**
 * Foo class
 */
class Foo
{
  /**
   * constructor
   * @param bool $a blah
   * @param bool $b blah
   * @param bool $c blah
   * @param bool $d blah
   */
  function __construct($a,$b,$c,$d)
  {
    
  }
}

when I do new Foo(); in the editor, and hover "Foo" to get the constructor documentation, well I can't because it shows me "Foo class", and that is very sad.

On a sidenote, if it could "guess" the methods of an object better, it would be amazing. I mean like :

$a=new Foo();
$a-> ... now it would popup all Foo methods, which it currently does not and if you have a lot of methods in different classes but with similar names, it's a bit annoying that it picks up the wrong one. However I can understand this must not be an easy thing to do, but while I was at it I thought I would tell you.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484804&aid=1637054&group_id=57621

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV