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

Method parameter tooltip offers wrong class

Open
#1,471 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
59
Forks
127
Avg merge
23h 30m
Merged PRs (30d)
35

Description

When mousing over a parameter type declaration, the tooltip offers up an unrelated class; not reachable by current package and imports and misses the correct class which is declared in the current file/class.
![eclipseerror](https://github.com/eclipse-jdt/eclipse.jdt.ui/assets/173324943/7944a421-7ba2-4195-bd67-fed9fd4f5d64)

Contributor guide

Open the contributing guide

Research direction

The issue names no source file, test, or entry point. Reproduce the parameter-type hover shown in the report, then trace how the tooltip resolves classes against the current package, imports, and current file or class; done when it offers the reachable class declared there instead of the unrelated class.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.