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

Summary: Find usage does not wotk for type synonims
Product: cnd Reporter: crimcat <crimcat>
Component: NavigationAssignee: issues@cnd <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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.