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 242039

Summary: Program to interface in netbeans
Product: java Reporter: kimsp <kimsp>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: markiewb
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: IDE log

Description kimsp 2014-02-18 08:48:24 UTC
Product Version = NetBeans IDE Dev (Build 201401290001)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.7.0_45
Runtime = Java HotSpot(TM) Client VM 24.45-b08


Hi, 

If I have this code on some method:

new ArrayList<String>();

place the caret on the line and press Alt-Enter to introduce variable. This will result in:

ArrayList<String> arrayList = new ArrayList<String>();

Netbeans highlights the text "arrayList" to allow easy renaming of the new variable.

What is needed is an easy way also to change the type of arrayList, like intellij has had for years now: http://blog.jetbrains.com/idea/2010/11/smarter-and-faster-introduce-variable-in-java/ (and eclipse as well).
Comment 1 kimsp 2014-02-18 08:48:27 UTC
Created attachment 145340 [details]
IDE log