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 216561

Summary: Javadoc editing not working in groovy editor; have to add them manually and no extra asterisks added like in java editor
Product: groovy Reporter: _ wadechandler <wadechandler>
Component: EditorAssignee: Martin Janicek <mjanicek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description _ wadechandler 2012-08-09 03:28:04 UTC
First, I have a maven Java EE 6 web project. Javadoc editing seems very wonky in the groovy support right now. In the java editor, if I type /** and then hit enter, it auto fills the javadoc based on parameters or at a minimum each consecutive newline will be preceded with an asterisk (*). Current, in the groovy editor, for a New|File|Groovy|Groovy Class type file, if I type /** and press enter, then nothing happens with the project type I'm using. I initially thought it was only happening on groovy property definitions. In groovy if one defines a variable like:

String name;

Then groovy will create getName() and setName(String value) methods in the class. However, it happens for methods and anything else I add and try to document. So, it seems javadoc editing in groovy files is not working correctly if at all.