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 253192

Summary: Please provide hint "include header should be first include in implementation"
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: EditorAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Alexander Simon 2015-06-25 18:04:04 UTC
It would be great if IDE shows hint with fix (and inspect) in case:
- let you have a header Class.h and implementation Class.cpp
- Class.cpp has a lot of include directive one of the them is '#include "Class.h"'
Show hint if the 
#include "Class.h"
directive is not first in the include directives list.
Fix should move it on top of #include list
Comment 1 Quality Engineering 2015-07-02 01:19:17 UTC
Integrated into 'main-silver', will be available in build *201507020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/00bf4bed4420
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #253192 Please provide hint "include header should be first include in implementation"
- add audit
Comment 2 Alexander Simon 2015-07-09 12:07:17 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/297c15f2b1bf
Comment 3 Quality Engineering 2015-07-10 01:17:30 UTC
Integrated into 'main-silver', will be available in build *201507100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/297c15f2b1bf
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #253192 Please provide hint "include header should be first include in implementation"
- add fix