eclipse-jdt / eclipse-jdt/eclipse.jdt.ui
Inconsistent font baseline in Java editor for wrapped method invocations
- Dominant language
- Java
- Stars
- 59
- Forks
- 127
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 37
Description
On the latest JDT release, code that's using wrapped invocations ends up being displayed in inconsistent font-baselines per line:
As you can see above, the baseline for the first underlined line is much higher than for the second line. The third line is higher, too. The red line I added almost masks the difference a bit, but the different baselines are clearly visible in the method below, too. Simple, on-line declarations do not seem to suffer from the problem as visible in the field declarations and assignments in the constructor.
I am running STS (Eclipse 4.33.0.v20240903-0240) with JDT 3.19.600v20240903-0240 on MacOS Sequoia 15.1.
Contributor guide
Research direction
Reproduce the issue in the Java editor using wrapped method invocations on the reported Eclipse/JDT and macOS versions, then compare the font baselines with the unaffected single-line declarations and assignments. Done means wrapped invocation lines render with consistent baselines.
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