Bug 242039

Summary: Program to interface in netbeans
Product: java Reporter: kimsp <kimsp>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW --- QA Contact: issues <issues.netbeans.org>
Priority: P3 CC: markiewb
Version: 8.0   
Target Milestone: TBD   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Issue Type: ENHANCEMENT Exception Report:
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
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo