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.
User (or automatic discovery) can change header flag exclude/include Code model processes this change event as "Delete/Add" file. It results in a huge overhead. Expected following behavior is: A header file is marked as excluded. Code model should ignore this event if the file is included in at least one compilation unit. Otherwise code model removes the file from code assistance. A header file is marked as included. IDE should ignore this event if the file is included in at least one compilation unit. Otherwise code model add the file to code assistance with default system include/macros. A header file marked as included are parsed after finishing parsing all compilation units only if the file is not parsed jet.
Steps to reproduce: - create Quote sample. - wait parsing finishing. - change properties of module.h, property "Exclude from build". Actual behavior: - IDE reparse project Expected behavior: - there is no reparsing
fixed as part of issue #217776 http://hg.netbeans.org/cnd-main/rev/c43dcff43455 http://hg.netbeans.org/cnd-main/rev/c4660649350c
we also separate now remove physically from "exclude" and from "Remove from project" for headers which are still used by some of remaining compilation units