Bug 343388

Summary: [formatter] Option to create JavaDoc if not present
Product: [Eclipse Project] JDT Reporter: Phillip <rotzooi12>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED INVALID QA Contact:
Severity: enhancement    
Priority: P3 CC: jarthana, Olivier_Thomann
Version: 3.7   
Target Milestone: 3.7 M7   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Phillip CLA 2011-04-20 08:09:56 EDT
Build Identifier: 20100617-1415

What I would like to see is an option in the formatter in which I can tick whether or not the formatter should create the JavaDoc skeleton if a component was not documented yet.

Basically the functionality is already there in the editor (Press /** and then enter and the skeleton is generated).

I would like to be able to do this when I format the code. This way it makes it easier for the developers to write their Javadoc so that they don't forget this.

Reproducible: Always
Comment 1 Olivier Thomann CLA 2011-04-20 08:28:04 EDT
The formatter doesn't add new code. It only manages the whitespaces.
What you are asking can easily be done as a Save action. On save, all missing javadocs could be added.
Closing as INVALID.
Comment 2 Jay Arthanareeswaran CLA 2011-04-25 13:15:34 EDT
Verified for 3.7M7