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.
Summary: | Remove blank line (optional) | ||
---|---|---|---|
Product: | editor | Reporter: | belur_1d <belur_1d> |
Component: | Formatting & Indentation | Assignee: | Dusan Balek <dbalek> |
Status: | REOPENED --- | ||
Severity: | blocker | CC: | markiewb |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
belur_1d
2006-12-12 12:08:08 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss There is still no such option in 8.2 (Build 201608050002). I'd expect this option to be available at Tools > Options > Editor > Formatting > <Language> > Blank Lines. Example in JavaScript how this function is supposed to work (if set to 1): Original source: function function1() { let test = 'bla'; return test; } function function2() { let variable1 = 1; let variable2 = 2; return variable1 + variable2; } Formatted source: function function1() { let test = 'bla'; return test; } function function2() { let variable1 = 1; let variable2 = 2; return variable1 + variable2; } This is valid for other languages like PHP, too. Sebastian |