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 243027 - No formatting options for blank lines
Summary: No formatting options for blank lines
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 8.0
Hardware: PC All
: P2 normal with 8 votes (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-19 01:14 UTC by whallz
Modified: 2015-09-09 11:27 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description whallz 2014-03-19 01:14:43 UTC
for e.g. when i have a js file like this one:

var polls = {
    'current': {},
    'anotherVar': 1,
    'init': function() {
      // code
    },
    'anotherFuncion': function() {
    }
};

if i wanted it to look like this:

var polls = {

    'current': {},
    'anotherVar': 1,

    'init': function() {
      // code
    },

    'anotherFuncion': function() {
    }

};

when calling Source->Format, it should respect my new-lines-for-readability