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 136806

Summary: Completion should take into account expanded text
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Code CompletionAssignee: Vladimir Voskresensky <vv159170>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 108501    

Description Alexander Simon 2008-06-09 12:40:10 UTC
Code example:
----------------------
namespace ns_aaa{
    int in_aaa;
}
#define NS(suffix) ns_##suffix
 
void foo(){
    NS(aaa)::in_aaa;
    ns_aaa::in_aaa;
}
----------------------
Completion does not work in context "NS(aaa)::".
Hyper link on variable "n_aaa" does not work in context "NS(aaa)::in_aaa".
Comment 1 Alexander Pepin 2008-11-19 18:23:43 UTC
Alexander S: we can not achieve code model accuracy goal without this
Comment 2 nnnnnk 2009-04-02 15:47:15 UTC
fixed