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 193647 - Find usage does not wotk for type synonims
Summary: Find usage does not wotk for type synonims
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-20 13:52 UTC by crimcat
Modified: 2010-12-20 16:36 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 crimcat 2010-12-20 13:52:40 UTC
Hello,

Let's assume we have the following declaration in plain C:
typedef struct service_request_struct {
   /* ... something here ... */
} SERVICE_REQUEST_STRUCT;

And thereafter I'm going to use only capitalized version of this type - SERVICE_REQUEST_STRUCT, while 'struct service_request_struct' is never used anywhere in the code.
Find usages will work on for SERVICE_REQUEST_STRUCT well, while if I'm trying to find usages for service_request_struct nothing is found (selecting 'struct service_request_struct' results in error box with information that find usages cannot be applied for this context).

Because typedef in C is basically not a new type, but rather a type synonim, I'd suggest that find usages should work for both cases.
Comment 1 Vladimir Voskresensky 2010-12-20 16:36:25 UTC
Thanks, this is a good enhancement.
Not sure we can have resources in this release.