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.

Bug 197796

Summary: Wrong paths when files is auto #include after selecting method from completion module
Product: cnd Reporter: _ rsmogura <rsmogura>
Component: Code CompletionAssignee: Vladimir Voskresensky <vv159170>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description _ rsmogura 2011-04-15 16:09:05 UTC
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.
Comment 1 Vladimir Voskresensky 2011-04-15 16:55:22 UTC
Could you, please, create simple test project with problematic files structure and attach it to bug.
Thanks.