How to get suggestions in NetBeans for included files

Posted by Flexx on Stack Overflow See other posts from Stack Overflow or by Flexx
Published on 2010-06-08T11:04:33Z Indexed on 2010/06/13 18:22 UTC
Read the original article Hit count: 107

Filed under:
|
|
|
|

i have a problem to get suggestions for classes which are included in included files.

E.g. content of file 'Header.php' is:

//File 'Header.php':
include('User.php'); //Class file

When I now include the Header.php in my file 'Example.php', i do not get any suggestions:

//File 'Example.php':
include('Header.php');
User::

After typing User:: I exspect Methods and Vars of class User as suggestions, but there arent any. If I would include 'User.php' directly in my 'Example.php' it works, but that doesn't help me. How to solve this problem?

© Stack Overflow or respective owner

Related posts about php

Related posts about classes