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.
Product Version: NetBeans IDE Dev (Build 201505020001) Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14 System: Windows 7 version 6.1 running on amd64; UTF-8; pl_PL (nb) When writting a code you have to create new object very often. Usually it's something like this: Type variable = new Type(); Code completion is very helpful here, but it would be even better if it suggested "new" right after the "=" character. For example: public String toString() { StringBuilder sb = | Having cursor at the | position I would like to see "new StringBuilder" in the CC list. This could work similarly to the case when static methods are available. For example: public void checkTimeZone() { TimeZone zone = | In this case CC offers "TimeZone.getDefault()" and "TimeZone.getTimeZone" at the first place and that's great. How about adding "new" calls to the list, so it would look like: +-----------------------------------------------------------+ | TimeZone.getDefault() TimeZone | | TimeZone.getTimeZone(String ID) TimeZone | | TimeZone.getTimeZone(ZoneId zoneId) TimeZone | | new SimpleTimeZone (java.util) | | new TimeZone (java.util) | | new ZoneInfo (sun.util.calendar) | +---------------------- (separator) ------------------------+ | clone() void | | equals(Object obj) boolean | | .... | It would save several keystrokes. What do you think?
Created attachment 153562 [details] Aggregate this...
Created attachment 153563 [details] ... and that