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.
When I choose method from file not included by #inlucde, NB automatically ads this include. Problems is that include has wrong path, e.g. #include "mm.h", should be #include "memory/mm.h". I think new parameter in C/C++ project should be added "Include directories", which may be used to calculate best path for header. I use 7.0 RC 2.
Could you, please, create simple test project with problematic files structure and attach it to bug. Thanks.