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.

Bug 224640 - Improve Groovy formatter
Summary: Improve Groovy formatter
Status: STARTED
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Linux
: P2 normal with 1 vote (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on: 156616 209844
Blocks:
  Show dependency tree
 
Reported: 2013-01-09 11:26 UTC by Martin Janicek
Modified: 2013-03-04 10:29 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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