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 options 'Assignment' and 'Array Initializer' at Tools > Options > Editor > Formatting > PHP > Alignment > Group Multiline Alignment are missing examples in the 'Preview:' field. So it's not possible to see the effect of those options immediately. Sebastian
Also 'Implements List' is missing an example. Sebastian
Perhaps Junichi could be interested in this issue? It should be an easy fix IMHO. Thanks.
Anyone has some nice example? This is a great chance for a contribution :)
Should be fixed now, feel free to verify this issue or provide better samples ;) Thanks. http://hg.netbeans.org/web-main/rev/365d45ae24f4
Integrated into 'main-silver', will be available in build *201608160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/365d45ae24f4 User: Tomas Mysik <tmysik@netbeans.org> Log: #255822 - Add examples for 'Group Multiline Alignment' and 'Multiline Alignment'
The examples you added for visualizing the multiline alignment grouping looks ok to me. Thanks for that! You could have choosen a bit longer names, though, to make the effect more obvious. But I am still missing examples for the 'Multiline Alignment' options as mentioned in the summary and comment 1, i.e. 'Method Parameters', 'Method Call Arguments' and 'Implements List'. Should I file a new bug for that? Sebastian
(In reply to SebastianZ from comment #6) > But I am still missing examples for the 'Multiline Alignment' options as > mentioned in the summary and comment 1, i.e. 'Method Parameters', 'Method > Call Arguments' and 'Implements List'. Should I file a new bug for that? Yes please. Feel free to provide some nice examples, if you want to. Thanks.
(In reply to Tomas Mysik from comment #7) > (In reply to SebastianZ from comment #6) > > But I am still missing examples for the 'Multiline Alignment' options as > > mentioned in the summary and comment 1, i.e. 'Method Parameters', 'Method > > Call Arguments' and 'Implements List'. Should I file a new bug for that? > > Yes please. Feel free to provide some nice examples, if you want to. Created bug 267617. I would have provided examples, though I didn't find out yet what the options actually do. :-) They don't seem to make any difference in formatting. I'll have a deeper look when I have more time the next days. Sebastian
(In reply to SebastianZ from comment #8) > Created bug 267617. Thanks! > I would have provided examples, though I didn't find out > yet what the options actually do. :-) They don't seem to make any difference > in formatting. I'll have a deeper look when I have more time the next days. I see :) I will try to find out what they do :) Thanks.
Better variable names. http://hg.netbeans.org/web-main/rev/4d9e4afca34b
(In reply to Tomas Mysik from comment #10) > Better variable names. > > http://hg.netbeans.org/web-main/rev/4d9e4afca34b Great! Thank you! Sebastian
Integrated into 'main-silver', will be available in build *201608190002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4d9e4afca34b User: Tomas Mysik <tmysik@netbeans.org> Log: #255822 cont'd - Add examples for 'Group Multiline Alignment' Better variable names.