Bug 343388 - [formatter] Option to create JavaDoc if not present
Summary: [formatter] Option to create JavaDoc if not present
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 enhancement with 1 vote (vote)
Target Milestone: 3.7 M7   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-20 08:09 EDT by Phillip CLA
Modified: 2011-04-25 13:15 EDT (History)
2 users (show)

See Also:


Attachments

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