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.
When you have checked Tools > Options > Editor > Formatting > Alignment > Assignment, code like $a = 1; $abc = 2; exampleFunction(); $foobar = 'baz'; $someVariable = 3; will be formatted as $a = 1; $abc = 2; exampleFunction(); $foobar = 'baz'; $someVariable = 3; Instead the formatter should only align contiguous assignments. I.e. the result would then be: $a = 1; $abc = 2; exampleFunction(); $foobar = 'baz'; $someVariable = 3; This is especially relevant when there are more than one non-assignment statements in between. Sebastian