Ctrl+Shift+F creates incorrect indentation for open bracket with short array syntax.
$t = [
$t = [
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 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)
User: Junichi Yamamoto <email@example.com>
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.
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: