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 242028 - Wrapped function args not indenting as expected when running format
Summary: Wrapped function args not indenting as expected when running format
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.4
Hardware: Macintosh (x86) Mac OS X
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-17 23:31 UTC by jbrungar
Modified: 2015-09-09 11:27 UTC (History)
0 users

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 jbrungar 2014-02-17 23:31:01 UTC
Wrapped function args not indenting as expected when running format. Continuation indentation is only being applied at the first level.

Expected result:

this.function(
        "this" +
                "is" +
                "an" +
                "arg",
        "this" +
                "is" +
                "another" +
                "arg"
        );

Actual result:

this.function(
        "this" +
        "is" +
        "an" +
        "arg",
        "this" +
        "is" +
        "another" +
        "arg"
        );