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 208343 - Groovy formatting can not be changed
Summary: Groovy formatting can not be changed
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: PC Linux
: P2 normal with 3 votes (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks: 208404
  Show dependency tree
 
Reported: 2012-02-13 13:37 UTC by _ wadechandler
Modified: 2015-03-07 06:45 UTC (History)
4 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 _ wadechandler 2012-02-13 13:37:21 UTC
To reproduce:
1) Go to Tools|Options|Editor|Formatting
2) Notice in the language drop down there is no Groovy
Comment 1 Geertjan Wielenga 2012-02-13 13:49:00 UTC
What kind of formatting changes would you like to be able to make?
Comment 2 Petr Jiricka 2012-02-14 16:40:52 UTC
-> enhancement
Comment 3 _ wadechandler 2012-02-15 16:22:28 UTC
Groovy would have mostly the Java ones if it isn't already using Java formatting; in which case it might be easy enough to change it from Java to read Java/Groovy. Perhaps some special things for tuples, lists, and closure syntax.
Comment 4 jirodan 2012-10-09 18:01:10 UTC
Currently not using the Java formatting, appears to use the default Java formatting.
Nice if it would at least use the same formatting that the user defines for Java.
Comment 5 Martin Janicek 2012-10-10 08:50:18 UTC
I'll try to do this for the Next release.
Comment 6 _ wadechandler 2013-03-01 18:48:13 UTC
I haven't yet looked, and I am getting ready to start reviewing groovy support. Been using Intellij for it. But, is this not in 7.3? Is there any plan for when if not?
Comment 7 Martin Janicek 2013-03-03 10:33:28 UTC
Hi Wade, unfortunatelly it's not in 7.3 :( ..I plan to do this for the next release (which is NB 8.0) and try to reuse either our Java formatter or JavaScript one.

(In reply to comment #6)
> I haven't yet looked, and I am getting ready to start reviewing groovy support.
> Been using Intellij for it. But, is this not in 7.3? Is there any plan for when
> if not?
Comment 8 _ wadechandler 2013-03-03 13:00:51 UTC
Thanks for the update Martin. I am looking forward to this. This probably one of the most used features of an ide. It saves time and keeps tidy especially when copying and pasting or using various features which may or may not get formatting correct when they insert code.
Comment 9 _ wadechandler 2013-03-03 13:06:22 UTC
I moved it to a p2 per the wiki guidelines. This falls under critical usability since one must use a separate tool like mvn and go back and forth to a cli window or use some other custom action as the work around.
Comment 10 Martin Janicek 2013-03-04 07:56:47 UTC
(In reply to comment #9)
> I moved it to a p2 per the wiki guidelines. This falls under critical usability
> since one must use a separate tool like mvn and go back and forth to a cli
> window or use some other custom action as the work around.

Agree with increasing priority. 

BTW: I'll add you to the CC of the issue 224640 as that is the correct ticket for tracking new formatter.