Summary: | [formatter] Unexpected indentation of line comment | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Frederic Fusier <frederic_fusier> | ||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | jarthana, markus.kell.r, satyam.kandula | ||||
Version: | 3.6 | ||||||
Target Milestone: | 3.6 M7 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Frederic Fusier
2010-03-10 13:22:11 EST
The following snippet with the same option: class Example { // unformatted comment ! // formatted comment ! } is well formatted: class Example { // unformatted comment ! // formatted comment ! } Note the empty line between the comments... Created attachment 162152 [details]
Proposed patch
With this patch the formatter now considers that two consecutive comments are not contiguous when one of them is on first column and the preference to format this kind of comment is deactivated.
Released for 3.6M7 in HEAD stream. Verified for 3.6M7 using build I20100424-2000 |