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 - Program to interface in netbeans
Summary: Program to interface in netbeans
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-18 08:48 UTC by kimsp
Modified: 2014-02-23 20:59 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
IDE log (156.52 KB, text/plain)
2014-02-18 08:48 UTC, kimsp
Details

Note You need to log in before you can comment on or make changes to this bug.
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