This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Let's say I have 2 classes: file Foo.php: namespace A\B; class Foo{ public static function print(){} } file Bar.php: namespace A\C; class Bar{ function __construct() { F // confirm Foo from cc here } } now if in constructor of Bar I confirmed Foo from cc, then FQN is completed \A\B\Foo and then I "have to" fix use statements to have use \A\B\Foo; ... Foo:: ... Would it make sense/be possible to in this case complete use statement and relative class name instead of FQN? Since the FQN is now being completed, I guess you de facto already know which use statement could be used
I know about this behavior...but unfortunately it's not so easy to implement as it looks like :(
*** Bug 243459 has been marked as a duplicate of this bug. ***