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.

Bug 191449 - navigate to declaration fails when line is edited
Summary: navigate to declaration fails when line is edited
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Other
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-28 20:39 UTC by jsprenkle
Modified: 2010-10-29 07:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jsprenkle 2010-10-28 20:39:01 UTC
Open the editor and create a source file.
add an include to an existing file.

Example:
#include "api.h"

Allow IDE to scan the source.

Edit the line with the include:

#include <stdint.h>

Hit ctrl-left mouse button click to navigate to source.
Editor navigates to the file api.h not stdint.h.
Comment 1 Vladimir Voskresensky 2010-10-29 07:11:46 UTC
I have checked and it works fine when editing file *except* one case:
it jumps into old file if user turned off "Reparse of file change" in Tools->Options->C/C++->Highlighting tab

but even in that case after save it jumps correctly

If you can try current nb trunk version and can reproduce, please, reopen.

Thanks,
Vladimir.