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 228715 - Multi-variable indentation
Summary: Multi-variable indentation
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.3.1
Hardware: All All
: P3 normal with 4 votes (vote)
Assignee: Petr Pisl
: 243026 (view as bug list)
Depends on:
Reported: 2013-04-18 16:03 UTC by michael.virnstein
Modified: 2015-09-09 11:27 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description michael.virnstein 2013-04-18 16:03:11 UTC
When variables are wrapped due to the wrapping setting, the wrapped variables are indented wit the continuation setting.

This results in something like: 

var a = 5,
        b = 7,
        c = 8;

I think we should either have an option to choose behaviour or change it directly so it is indented by standard indentation:

What i would expect:

var a = 5,
    b = 7,
    c = 8;
Comment 1 Roman Svitanic 2014-12-15 10:13:40 UTC
*** Bug 243026 has been marked as a duplicate of this bug. ***