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.
Scenario: in big project a some header file has such code: #ifndef __cplusplus #error "Don't include this C++ header file from a non-C++ file!" #endif In IDE I can't understand which file I need to modify in order to fix Code Assistance. I think NetBeans can display stack trace in tooltip on #error identifier.
we also do not parse file in correct content due to incorrect pcState created when #error directive is met
fixed: http://hg.netbeans.org/cnd-main/rev/cbee48f491e3 http://hg.netbeans.org/cnd-main/rev/07d17d47b441 http://hg.netbeans.org/cnd-main/rev/6db68feae379 http://hg.netbeans.org/cnd-main/rev/f5500ee78c99 http://hg.netbeans.org/cnd-main/rev/86ca10de39f9