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.
Created attachment 154932 [details] All checkboxes on - formatter inserts all new lines correctly Product Version: NetBeans IDE 8.1 Beta (Build 201507231027) Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) User directory: C:\Users\cendrowiczm\AppData\Roaming\NetBeans\8.1beta Cache directory: C:\Users\cendrowiczm\AppData\Local\NetBeans\Cache\8.1beta Test Case --> http://services.netbeans.org/synergy/client/app/#/case/2194/suite/1695/v/1 Formatter inserts all new lines correctly. When all checkboxes are deselected the formatter does not remove one new line previously entered for public void method.
Created attachment 154933 [details] All checkboxes off - formatter forgets about one new line
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/8f587aa7508d
Integrated into 'main-silver', will be available in build *201507300002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8f587aa7508d User: Dusan Balek <dbalek@netbeans.org> Log: Issue #253840 - Formatter does not remove all new lines - fixed.