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.
Product Version: NetBeans IDE Dev (Build 20080923090945) Java: 1.6.0_10-rc2; Java HotSpot(TM) Client VM 11.0-b15 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) Multiline alignment for 'for' statement does not work. The parts of for statement are always indented as continuation indentation. Steps to reproduce: 1) turn on multiline alignment for 'for' 2) reformat following code: for (int i = 0; i < 10; i++) { System.out.println(i); }
This applies to other Multiline Alignment values as well. After a quick examination, all forms are formatted as continuations.
Created attachment 72693 [details] Sample from the Format dialog, before and after an autoformat.
*** This issue has been marked as a duplicate of 150235 ***