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.
Scenario: - Create SubProjects sample - open main.cc file - select hello2 and press Ctrl+R - Type test1 - Press Refactor button - Wait 10 seconds - select hello3 and press Ctrl+R - Type test2 - Press Refactor button - Wait 10 seconds ==> test2 is marked as unresolved identifier - Clean and Build project ==> build failed main.cc: In function ‘int main(int, char**)’: main.cc:44:24: error: ‘test2’ was not declared in this scope
It's a regression that was added in last 2 months.
side effect of text index. With -J-Dcnd.model.text.index=false works just fine.
*** Bug 223645 has been marked as a duplicate of this bug. ***
http://hg.netbeans.org/cnd-main/rev/a8789f11bb66 - use primary key presentation based on file index AND unit index, otherwise documents overwrite each other for files from different projects - do not load full document, primary key field is enough and allows to reduce memory usage
Integrated into 'main-golden', will be available in build *201212140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a8789f11bb66 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #223643 - rename breaks code in SubProjects sample - use primary key presentation based on file index AND unit index, otherwise documents overwrite each other for files from different projects - do not load full document, primary key field is enough and allows to reduce memory usage