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 7.0.1 (Build 201107282000) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0 Runtime = Java HotSpot(TM) 64-Bit Server VM 21.0-b17 Consider the following scenario: final String[] args = {"A", "B", "C"}; args[2]; // <--- Press Ctrl+Space here and it currently gives "not a statement" Suggested enhancement: When pressing Ctrl+Space(or the the appropriate code completion key) it should give the option "Assign Value to New Variable"