Bug 229569 - [formatter] New comments formatter does not indent lines inside immutable tags
Summary: [formatter] New comments formatter does not indent lines inside immutable tags
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M7   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-30 04:31 EDT by Frederic Fusier CLA
Modified: 2008-05-07 12:08 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2008-04-30 04:31:26 EDT
Discovered while verifying bug 229107 using build I20080729-0100.

To avoid confusion with bug on tables tags, here's a more simple test case illustrating the problem:

public class X02 {

/**
 * Text <code>immutable
 * tag written on
 * several lines</code>
 * End
 */
void foo() {
}
}

is wrongly formatted as:

public class X02 {

	/**
	 * Text <code>immutable
 * tag written on
 * several lines</code> End
	 */
	void foo() {
	}
}
Comment 1 Frederic Fusier CLA 2008-04-30 04:32:56 EDT
Immutable tags are currently not formatted at all. This is not correct, indentation at the beginning of the javadoc line (i.e. before the first '*') should be set according to the global javadoc indentation...
Comment 2 Frederic Fusier CLA 2008-05-07 12:07:38 EDT
Sorry, I forgot to close this bug...
Released for 3.4M7.
Comment 3 Jerome Lanneluc CLA 2008-05-07 12:08:55 EDT
Verified for 3.4M7 using I20080502-0100