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.
Currently, when you invoke the CC, e.g., for Math.abs() method argument, public int sample() { int a1field = -4; int a2field = 5; return Math.abs(a1field); } and you select another field, e.g. "a2field", the old variable isn't replaced by the new one, instead, it is inserted, e.g. : public int sample() { int a1field = -4; int a2field = 5; return Math.abs(a2field1field); } Other IDEs automaticaly replace the old value by the new one - selected from CC. See also the pictures.
Created attachment 35852 [details] CC invokation
Created attachment 35853 [details] CC Result