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 216610 - Jump to multiple macro defines
Summary: Jump to multiple macro defines
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-09 14:33 UTC by Egor Ushakov
Modified: 2012-08-09 14:33 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2012-08-09 14:33:24 UTC
Example code:
a.c:
#define ABC
#include "incl.h"

b.c:
#define ABC
#include "incl.h"

incl.h
#ifdef ABC // hyperlink on this ABC
...
#endif

When we invoke hyperlink on ABC in incl.h we jump to either a.c or b.c, depending on what file was parsed first.
We could tell user that there are several definitions though and ask where to go.