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

Summary: Multi-variable indentation
Product: javascript Reporter: michael.virnstein
Component: Formatting & IndentationAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: whallz
Priority: P3    
Version: 7.3.1   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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. ***