eclipse-jdt / eclipse-jdt/eclipse.jdt.ui

[code mining] Extra spaces when showing method parameter name hints

Open
#1,797 10 comments 0 reactions 1 assignee Claimed by @vikash1703 View on GitHub
bug good first issue
Dominant language
Java
Stars
59
Forks
127
Avg merge
23h 30m
Merged PRs (30d)
35

Description

A fresh workspace, a fresh installation of Eclipse for Java,
```
Version: 2024-09 (4.33.0)
Build id: 20240905-0614
Eclipse Java Development Tools: 3.19.600.v20240903-0240
```

Parameter name hints enabled:
![{F146FF7C-2D84-4292-B1FA-6262628D1C30}](https://github.com/user-attachments/assets/32f4847f-544a-4ce7-826d-ed6f1c628b6c)

There are two extra spaces after the parameter name:
![{9D91F000-D0E1-4675-9A69-CE708299BECF}](https://github.com/user-attachments/assets/9632bde2-e216-46fe-b35e-35a4c4496150)

I have no idea where the extra spaces are coming from as the code itself seems to only add one: https://github.com/eclipse-jdt/eclipse.jdt.ui/blob/2886912fd00e7d4f0dc50af8ff17cbde0007a382/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/codemining/JavaMethodParameterCodeMining.java#L31

Windows 11 in Czech locale, Java 23

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.