Skip to content

Fix extra spaces in method parameter name hints #1797#2781

Open
vikash1703 wants to merge 1 commit intoeclipse-jdt:masterfrom
vikash1703:fix-parameter-hint-spacing
Open

Fix extra spaces in method parameter name hints #1797#2781
vikash1703 wants to merge 1 commit intoeclipse-jdt:masterfrom
vikash1703:fix-parameter-hint-spacing

Conversation

@vikash1703
Copy link
Copy Markdown

Description
Fixed the visual bug where an extra space was appearing after the colon in method parameter hints.

Changes
In JavaMethodParameterCodeMining.java, I removed the manual space character from the hint text. The UI rendering engine already handles the necessary spacing, so this manual space was causing a double-space effect (e.g., speed: 100).

Verification
I have verified this fix using the Runtime Workbench. The spacing is now consistent and follows the expected UI behavior.

Before Fix (Double Space):
BeforeFix

After Fix (Correct Single Space):
AfterFix

Fixes #1797

Signed-off-by: vikash kumar <vikashkumar@Mac.lan>
Signed-off-by: Vikash Kumar Sinha <vikash07kp@gmail.com>
@iloveeclipse iloveeclipse force-pushed the fix-parameter-hint-spacing branch from 73a15b9 to d22b542 Compare February 10, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant