Bug 243027 - No formatting options for blank lines
No formatting options for blank lines
Status: NEW
Product: javascript
Classification: Unclassified
Component: Formatting & Indentation
8.0
PC All
: P2 with 8 votes (vote)
: TBD
Assigned To: Petr Pisl
issues@javascript
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo