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.
Summary: | Broken indentation for nested elements with short array syntax | ||
---|---|---|---|
Product: | php | Reporter: | rob006 |
Component: | Formatting & Indentation | Assignee: | junichi11 |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | amobilia, josef.sabl, junichi11, PowerKiKi, rob006, tmysik |
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
rob006
2016-09-23 12:15:32 UTC
Not a P2, sorry. Thanks for reporting. Any chance to fix this in 8.2? This bug makes autoformatting practically useless - nested arrays with short array syntax are quite common in any modern project. I tested autoformatter from 8.2-RC in my projects and right now it more often mess formatting than fixing it... I'll fix it. Thanks. Fixed. http://hg.netbeans.org/web-main/rev/df8faee2d566 Thanks. Thanks a lot, Junichi! Integrated into 'main-silver', will be available in build *201610150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/df8faee2d566 User: Junichi Yamamoto <junichi11@netbeans.org> Log: #268171 - Broken indentation for nested elements with short array syntax *** Bug 268556 has been marked as a duplicate of this bug. *** Could anyone please verify this issue using a dev build? Once verified, we can add it to the patch for NB 8.2. Thanks! I confirm that it is fixed in netbeans-dev-201610170002. Thanks for quick fix. (In reply to rob006 from comment #9) > I confirm that it is fixed in netbeans-dev-201610170002. Thanks for your verification! Yes, thanks a lot! *** Bug 269142 has been marked as a duplicate of this bug. *** Transplanted to the releases repo branch release82: http://hg.netbeans.org/releases/rev/25f3594138e3 Thanks. 82patch1-verified |