Bug 242039 - Program to interface in netbeans
Program to interface in netbeans
Status: NEW
Product: java
Classification: Unclassified
Component: Editor
8.0
PC Windows XP
: P3 with 1 vote (vote)
: TBD
Assigned To: Dusan Balek
issues@java
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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


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