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.
Product Version = NetBeans IDE 7.2 Beta (Build 201205031832) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.7.0_03 Runtime = Java HotSpot(TM) Client VM 22.1-b02 [code] header.h header2.h file.h #include "header.h" [/code] While editing file.h and going to header.h, all code within the header class are greyed. Comments outside of the class specification appear normal. Editing another header file, header2.h, during the same session does not change the code contained in the class. Specifically: [code] header.h /* coments */ #ifndef HEADER_H # define HEADER_H <class specification> #endiif [/code] The comments appear normal, all code and comments from the #define to the end of the file are grayed.
In file.h, references to header.h are flagged as "unable to resolve identifier" errors.
I have a similar issue in Final - NetBeans IDE 7.3. Everything between #ifndef and #endif is greyed out. Closing NetBeans does not resolve the issue. The only way I'm able to fix it is removing all the #include statements throughout the program. It's happened 3 times today, and it's getting frustrating, since I have to do that with 9 files. Code works fine, with no errors, but it's harder to develop code. Never had this issue before today (I've been using NetBeans heavily for the past 9 months).
I can not reproduce the problem in 8.0.2 candidate. Could you try it, please? http://bits.netbeans.org/download/8.0.2/daily/9dad33/2014-11-18_19-05-13/ Thanks!