| Summary: | [templates] Indentation fails with multiline Javadoc templates | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Nils Winkler <eclipse> |
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows NT | ||
| Whiteboard: | |||
Eclipse 3.0M9, Windows NT 4.0, JDK 1.4.2_04 I created a Javadoc template called "ul" with the following form: <ul> <li>${cursor} <li> </ul> When having a comment like the following: /** * List: * */ and adding the template like this: /** * List: * ul| */ the result looks like this: /** * List: * <ul> <li> <li> </ul> */ whereas it should clearly look like this: /** * List: * <ul> * <li> * <li> * </ul> */ Adding asterisks to the template only works partially, since the indentation is still wrong after inserting the template. The "Use code formatter" checkbox has been selected, BTW.