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.
The formater doesn't work properly for the code below . A single ligne (and no accolads if is included on another if / else) ----------------- <?php if (TRUE) { if ($ifWithoutAccolads) $something; }else { $something; } ----------------- Expectation : ----------------- <?php if (TRUE) { if ($ifWithoutAccolads) $something; } else { $something; } ----------------- [space before else]
Thanks for reporting!
Fixed. http://hg.netbeans.org/web-main/rev/bdbe69fcecd0 Thanks.
Integrated into 'main-silver', will be available in build *201706170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/bdbe69fcecd0 User: Junichi Yamamoto <junichi11@netbeans.org> Log: #268541 - If else formating