I am using Netbeans 8.0 for PHP
I try to use the code completion function when I print
new EntityM
Netbeans shows:

Ok, I got into the first option, then Netbeans generates:

What I want to do: Instead of generating the full class name (namespace + class name), I want Netbeans to add a use statement and a simple class name, this will add:
use \Doctrine\ORM\EntityManager;
before the class declaration and the generated code will be:
$d = new EntityManager($conn, $config, $eventManager)
Can anyone advise how to do this?
PS: This is how PHPStorm works .
source
share