Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 90026 - qnav works incorrectly after source file was renamed
qnav works incorrectly after source file was renamed
Status: CLOSED FIXED
Product: cnd
Classification: Unclassified
Component: Navigation
5.x
All All
: P2 (vote)
: 6.x
Assigned To: Alexander Simon
issues@cnd
qnavigator waive
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-24 16:38 UTC by dnikitin
Modified: 2013-05-17 08:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments
wrong contents of the qnavigator (78.79 KB, image/jpeg)
2006-11-24 16:40 UTC, dnikitin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dnikitin 2006-11-24 16:38:21 UTC
qnav works incorrectly after source file was renamed.

to reproduce:
1) Create any c/c++ project (e.g. sample project Welcome)
2) Open in editor welcome.cc source file
3) Rename welcome.cc in projects tab (e.g. to welcome_edit.cc)
4) Go to editor and add new function to welcome_edit.cc (e.g. "void foo(){}")
5) Press Ctrl+S to save the source file.

Now you can see new function foo() in class view, but foo() is absent in qnavigator.

See attachment.


P.S. There is a workaround. If you will close source file and will open it again
then qnav will work correctly.
Comment 1 dnikitin 2006-11-24 16:40:25 UTC
Created attachment 36275 [details]
wrong contents of the qnavigator
Comment 2 Alexander Simon 2006-12-22 08:22:54 UTC
qnav processes file rename now (model too)


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo