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:||Improve Groovy formatter|
|Product:||groovy||Reporter:||Martin Janicek <mjanicek>|
|Component:||Editor||Assignee:||Martin Janicek <mjanicek>|
|Severity:||normal||CC:||mjanicek, pjiricka, wadechandler|
|Issue Type:||ENHANCEMENT||Exception Reporter:|
|Bug Depends on:||156616, 209844|
Description Martin Janicek 2013-01-09 11:26:37 UTC
Umbrella task: Current groovy formatter contains quite a lot or minority issue. It's based almost exclusively on bracket indentation which is not enough for such a big and complex language as groovy obviously is. We Should made it as reliable as possible.
Comment 1 dusty 2013-03-01 16:26:49 UTC
One example of bad formatting: if (!n) n = 0; the second line is not indented as it should