views:

256

answers:

1

i've just installed a new eclipse helios and i wonder about the autocompletion not working properly as in my older versions (ganymede/galileo). it's working for simple functions and class-methods but it somehow doesn't know methods which have been inherited from other classes AND it won't show autocompletion for chained methoed which return $this.

like

class y
{
    protected $_a;

    public function setA($a)
    {
        $this->_a = $a;
        return $this;
    }
}

class x extends y
{
    protected $_b;

    public function setB($b)
    {
        $this->_b = $b;
        return $this;
    }
}

$x = new x;
$x->[AUTOCOMPLETION]

[AUTOCOMPLETION] only shows the methods directly implemented in x, but not the methods of y. and when i do

$x->setB(123)
  ->[AUTOCOMPLETION]

the autocompletion won't work at all. theese both cases worked great in previous versions. so what's wrong with the current eclipse helios? or did i miss to configure something?

A: 

work ok on Mac. it shows both setA and setB

Post a bug report in bugzilla

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=PDT

Guillaume Massé