Summary: | [formatter] Formatting <PRE> tag in JavaDoc using Source->Format | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Naga Karavadi <naga.karavadi> |
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | minor | ||
Priority: | P5 | CC: | srikanth_sankaran, wim.jongman |
Version: | 3.2 | ||
Target Milestone: | 3.3 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Naga Karavadi
2006-09-29 13:52:27 EDT
I use as a workaround <code></code> which does what I expect from <pre></pre> which is to leave the enclosed stuff as it is. Ownership has changed for the formatter, but I surely will not have enough time to fix your bug during the 3.5 development process, hence set its priority to P5. Please provide a patch if you definitely need the bug to be fixed in this version and I'll have a look at it... TIA Packages for JDT/Core formatting are: org.eclipse.jdt.core.formatter org.eclipse.jdt.core.internal.formatter org.eclipse.jdt.core.internal.formatter.* However, the interesting code for this is mainly located in the Scribe class. Note that you surely need to look at other bugs related to the format of <pre>...</pre> html tags, but also to those related to <code>...</code> tags (especially bug 229580). Please use the bug for further discussion, instead of mails. Then everybody interested by this issue can follow the work progress on it :-) I wanted to work on this (really i did) but i found it to be solved already. It can be closed. Agreed, I cannot reproduce the problem using 3.5M4, 3.4.1, 3.4.0, 3.3.2 or 3.3.0...! So, closed as WORKSFORME. Thanks Wim for the feedback :-) Verified for 3.5M5 using I20090125-2000 build |