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.
instead of current hack in include directives user should be able to specify/see '-include file' based setting in project/folder/file properties. Code model handles such options according standard: -include file Process file as if #include "file" appeared as the first line of the primary source file. However, the first directory searched for file is the preprocessor's working directory instead of the directory containing the main source file. If not found there, it is searched for in the remainder of the #include "..." search chain as normal. If multiple -include options are given, the files are included in the order they appear on the command line.
Integrated into 'main-silver', will be available in build *201402050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/73b88b46bad7 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: API for #241346 - provide '-include file' settings
Integrated into 'main-silver', will be available in build *201402060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/75a77389b6d0 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #241346 provide '-include file' settings - implement project part
code model part http://hg.netbeans.org/cnd-main/rev/9902ff0745f4
fixed, change set: http://hg.netbeans.org/cnd-main/rev/fdee208dde7f
Integrated into 'main-silver', will be available in build *201402070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/9902ff0745f4 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixing #241346 provide '-include file' settings - code model part
*** Bug 236905 has been marked as a duplicate of this bug. ***