Bug 159982 - Generate element comment ignores parameters of constructors
Summary: Generate element comment ignores parameters of constructors
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-10-06 04:57 EDT by Stefan Mücke CLA
Modified: 2009-08-30 02:08 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Mücke CLA 2006-10-06 04:57:31 EDT
Generating the element comment (Alt+Shift+J) for a constructor will not produce any @param tag in the comment.

Expected output (example):

	/**
	 * @param arg1
	 * @param arg2
	 */
	public Example(int arg1, String arg2) {
	}

The actual output is:

	/**
	 *
	 */
	public Example(int arg1, String arg2) {
	}
Comment 1 Martin Aeschlimann CLA 2006-10-06 12:39:08 EDT
I just tried this, and it seems to work. Can you give steps with the specific code?
Comment 2 Stefan Mücke CLA 2006-10-06 13:03:41 EDT
Solved. The code template for 'Constructors' in the preferences was empty (no characters at all). I copied it from 'Methods', and now it works fine. Thanks, however!
Comment 3 Denis Roy CLA 2009-08-30 02:08:04 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.