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.
If a code in the editor contains words "class" or "struct" somewhere before completion point, auto including headers does not work.
The intent was to check whether we are in a forward class declaration, in which case we should not insert #include. But due to a misprint, "class" or "struct" somewhere in editor before insertion point (not immediately before, probably on previous screen) prevented from inserting #include. Fixed: cnd-main: http://hg.netbeans.org/cnd-main/rev/424ab6ce9cbd blacktie: rev/02ad1bceabe5
Integrated into 'main-golden', will be available in build *201203220400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/424ab6ce9cbd User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #209876 - Automatic header inclusion does not work in many cases (transplanted from 02ad1bceabe5510af81c1d8f5113906c61255881)
pushed to 71patch2: http://hg.netbeans.org/releases/rev/f22822af9ad5
Integrated into 'releases', will be available in build *201203291150* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/f22822af9ad5 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #209876 - Automatic header inclusion does not work in many cases (transplanted from 02ad1bceabe5510af81c1d8f5113906c61255881) (transplanted from 424ab6ce9cbddcd9452ee265bac86a31e1b6ca52)
verified in trunk build
verified in NetBeans IDE 7.1.2 (Build 201204101705)