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 135629 - Better support for generics in the java editor
Summary: Better support for generics in the java editor
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-22 17:01 UTC by deniss
Modified: 2015-04-16 20:02 UTC (History)
2 users (show)

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 deniss 2008-05-22 17:02:01 UTC
When I'm creating a variable which has a generic argument I want ability to complete this generic arguments after the
code completion. Could be turned off by default.
e.g:
     List -> CC -> List<?> or List<E> (like Eclipse does) with selected argument for another modfication
     new ArrayL -> CC -> new ArrayList<Object> or new ArrayList<E>

there is already ability to complete generics arguments: Map<?, ?> m = new Hash -> CC -> new HashMap<Object, Object> 
so it would be nice to have this one on the variable completion as well, it could speed up code writing a lot.

I hope to see this one in the next NB release.
Comment 1 deniss 2008-11-04 19:16:21 UTC
Is there any generics completion improvements planned for NB7? It would be nice to have this one.
Comment 2 mclaassen 2008-11-12 17:52:53 UTC
Have you seen the generics support in Eclipse?  There are warnings and hints.  It is very helpful.  I would love to see
this in Netbeans.
Comment 3 deniss 2008-11-14 16:29:48 UTC
Agree. I'm most missing easy completion for generics part of the class. NB7 should definitively improve Java editor.

Comment 4 Dalton.Dh 2014-06-17 14:00:54 UTC
Please add this as soon as possible. It is highly usefull when upgrading from jdk versions less than 1.5 to higher