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.
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)