Community
Participate
Working Groups
Eclipse Platform: Version: 3.1.0 Build id: 200409240800 OS: WinXP + SP2 java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing) My Java code formatting prefs have "enable comment formatting", "format HTLM tags", and "format Java code snippets" checked on the "Comments" tab. "Blank line...", "Indent Javadoc...", "Indent description..." and "New line..." are also checked. Max line width for comments is 80. Whenever I run the reformatter (typically via the ctl-shift-F key sequence), any <pre> tag in a method Javadoc comment gets a new blank line added after the <pre>; a second line gets added before the </pre>. Thus the number of blank lines in the <pre> block grows by two each time I run the code reformatter. I don't see any preference that appears to control this behavior. It's not a major problem, but it's a minor PITA to go back and remove these spurious blank lines occasionally.
What do you mean by occasionally? Is the error reproducible? Can you provide an example?
*** This bug has been marked as a duplicate of 52921 ***