eclipse-jdt / eclipse-jdt/eclipse.jdt.ui
Java formatter Comments/Javadocs is adding blank line with extra white space
- Dominant language
- Java
- Stars
- 59
- Forks
- 127
- Avg merge
- 23h 30m
- Merged PRs (30d)
- 35
Description
When formatting javadoc with "Blank lines between tags of a different type", "Align descriptions, grouped by type", and "Indent wrapped @param/@throws descriptions" and you have a description that wraps, the blank lines added have trailing white space (tabs) when they should not.
Options:

How it should look:

With wrapping:

With wrapped text removed:

Contributor guide
Research direction
Start by reproducing the Java formatter configuration described in the issue: enable blank lines between tag types, grouped alignment, and wrapped @param/@throws descriptions. Trace the Javadoc formatting entry point and compare output with the screenshots. Done means inserted blank lines contain no trailing tabs or other whitespace, including when wrapped text is present or removed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100