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 136170

Summary: Add template parameters in the completion list
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Code CompletionAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 87673, 134091    

Description Alexander Simon 2008-05-30 14:45:09 UTC
Test case:
-------------------------------
template <class _Ty> void foo() {
    _Ty::process();
    _Ty v = new _Ty();
};
-------------------------------
Expected:
Template parameter _Ty should be in completion list in 3 places in the function body.
Comment 1 Alexander Simon 2008-06-02 14:59:12 UTC
fixed
http://hg.netbeans.org/main/rev/a99acd0f0b53
Comment 2 Alexander Simon 2008-06-02 16:07:25 UTC
fixed filter for template parameters in completion list
http://hg.netbeans.org/main/rev/e2ead9b95b25
Comment 3 Quality Engineering 2008-06-03 04:12:12 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #234 build
Changeset: http://hg.netbeans.org/main/rev/a99acd0f0b53
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed: IZ#136170:Add template parameters in the completion list
Comment 4 Alexander Simon 2008-06-03 14:55:25 UTC
take into account parameter scope:
http://hg.netbeans.org/main/rev/fa44160286a2
refactoring:
http://hg.netbeans.org/main/rev/b89cbc23a5fd
Comment 5 Quality Engineering 2008-06-04 04:18:00 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #236 build
Changeset: http://hg.netbeans.org/main/rev/fa44160286a2
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed: IZ#136170:Add template parameters in the completion list (take into account parameter scope)