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 201653 - Convert Array to Variable
Summary: Convert Array to Variable
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-05 20:32 UTC by mithun_gonsalvez
Modified: 2016-04-06 20:00 UTC (History)
1 user (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 mithun_gonsalvez 2011-09-05 20:32:13 UTC
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"