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.

Bug 253840 - Formatter does not remove all new lines
Summary: Formatter does not remove all new lines
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-27 08:22 UTC by stwr
Modified: 2015-07-30 01:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
All checkboxes on - formatter inserts all new lines correctly (12.07 KB, image/png)
2015-07-27 08:22 UTC, stwr
Details
All checkboxes off - formatter forgets about one new line (7.40 KB, image/png)
2015-07-27 08:22 UTC, stwr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stwr 2015-07-27 08:22:19 UTC
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.
Comment 1 stwr 2015-07-27 08:22:51 UTC
Created attachment 154933 [details]
All checkboxes off - formatter forgets about one new line
Comment 2 Dusan Balek 2015-07-29 07:37:59 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/8f587aa7508d
Comment 3 Quality Engineering 2015-07-30 01:23:53 UTC
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.