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.
Sample: public class Test { Test a() { return this; } String b() { return null; } static void test() { new Test() .a() .b(); // invoke "Assign Return Value to New Variable" hint } } Once the hint is invoked, all three lines are indented - but only the first one should be. Thanks. Product Version: NetBeans IDE Dev (Build 20121204-b5f695999ec3) Java: 1.6.0_37; Java HotSpot(TM) 64-Bit Server VM 20.12-b01 Runtime: Java(TM) SE Runtime Environment 1.6.0_37-b06 System: Linux version 3.5.0-19-generic running on amd64; UTF-8; cs_CZ (nb)
*** This bug has been marked as a duplicate of bug 197865 ***