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 - Add template parameters in the completion list
Summary: Add template parameters in the completion list
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks: 87673 134091
  Show dependency tree
 
Reported: 2008-05-30 14:45 UTC by Alexander Simon
Modified: 2008-06-08 08:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)