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 239375

Summary: [Introduce Parameter] Provide pop-up dialog like in Introduce Constant, Field etc.
Product: java Reporter: ssazonov
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: NEW ---    
Severity: normal CC: markiewb
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description ssazonov 2013-12-11 14:52:25 UTC
1. Create simple java class

public class ClassA {
    public void m1() {
        String s = String.valueOf(123 + 456 + 678);
        System.out.println(s);
    }
}

2. Put carret anywhere into expresion "123 + 456 + 678" and only press Alt+Shift+C (Introduce Constant)

>> The pop-up dialog occured for choosing the part of expression to introduce, I think this useful feature may be implemented in Introduce Parameter (Alt+Shift+P)

Product Version: NetBeans IDE Dev (Build 201312110002)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)