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 6.1 (Build 200804211638) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) fx NB61 nighly plugin: 269 using the attached source. 1. In line "var str : String = new String();" place cursor after "new" and press ctrl+space - for instantiate tree. you get a short list but there is no horizontal separator for smart source 2. place the cursor after the new, but before the String (so there is a space) You get a list of types including String. behavior should be the same.
Created attachment 62997 [details] source
code completion - David (it's is probably fixed already)
I think this works as expected. If you place the cursor just after the new the new keyword is either put there from the list or replaced by something else. If you place the cursor after the space and hit ctrl-space from there the list is longer with proper selection of choices as far as I can tell.
Understood. closing.