I have a file named config.php, and i have other files includes config.php. When editing one of files, I use an object from config.php and it autocompletes name of the object. B
Make shure that all files of your project are in the project's include path (righ click project -> properties -> include path). Usually there is only the "global include path", which you configure in the NetBeans settings (e.g. to point to your PEAR directory). Add all directories which contain source code you want auto completion for to this include path. Hint: This include path has nothing to do with the include_path used in PHP itself.
Also instead of using hints in the cient code:
/* @var $TestObj test */
$TestObj->...
You should give the sources some more apidoc, e.g.:
because of the dynamic nature of PHP the IDE realies on this information to give right hints.