redhat-developer / redhat-developer/vscode-java
Peek/Go To Implementations points to method with same name
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
When I try to navigate to implementations of a method it will point me to a method with same name in wrapper class, but that wrapper class does not implement the interface of that method.
Environment
- Operating System: Windows 11
- JDK version: 21
- Visual Studio Code version: 1.94.2
- Java extension version: 1.35.1
Steps To Reproduce
- Clone https://github.com/eclipse-jdtls/eclipse.jdt.ls
- Go to JavaClientConnection.java
- Navigate to sendActionableNotification of the interface JavaLanguageClient line 59
- Try to Go To Implementations, it will point to method in wrapper class JavaClientConnection line 159, however the JavaClientConnection does not implement JavaLanguageClient
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with JavaClientConnection.java and the JavaLanguageClient interface, focusing on sendActionableNotification and the Go To Implementations behavior described in the reproduction. Compare the reported result with the actual interface implementation relationship; done means navigation no longer selects the same-named method in JavaClientConnection when it does not implement JavaLanguageClient.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100