Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pdt-dev] Code assist for Superclasses in another namespace

Hi everyone,

i'm testing code assistance for the default framework classes, and i don't get
any methods/fields from superclasses when the superclass is in another
namespace.

Here's the example code:

namespace Application\HelloBundle\Controller;

use Symfony\Framework\WebBundle\Controller;

class HelloController extends Controller
{
  public function indexAction($name)
  {
    $this->
  }
}

When the completion at $this-> starts, i only get the indexAction() method suggested,
but none of the methods of the parent Symfony\Framework\WebBundle\Controller.

However, when not pulling in the namespace with "use", but extending the class directly
using the namespace notation, the completion works:

namespace Application\HelloBundle\Controller;

class HelloController extends Symfony\Framework\WebBundle\Controller
{
  public function indexAction($name)
  {

   $this-> <--- now i get all superclass methods/fields

  }
}

Not sure if this should work already, so i thought i'll rather ask on the list.


regards

-robert



Back to the top