Namespace Autocomplete

When I create two classes called the same thing in different namespaces, and try to inherit from one of them, the autocomplete does not return any options for either class. Is there some way to hint to the autocompleter which of the two classes to use, or even just some way to show all the methods/parameters for both classes?

<?php
class ClassOne {
    public function testClassOneMethod(){}
}

<?php
namespace NotTest\Whoa;
class ClassOne {
    public function testClassOneNameSpaceMethod(){}
}


<?php
use NotTest\Whoa;
class ExampleClass extends ClassOne{
}


$Example = new ExampleClass();
$Example->;  // returns no results


This is in PhpStorm 1.0.2

1 comment
Comment actions Permalink

Basically namespaces are ignored by PhpStorm 1.0.x class/method resolution system. Full-fledged namespace support is planned for 2.0.

0

Please sign in to leave a comment.