redhat-developer / redhat-developer/vscode-java

Peek/Go To Implementations points to method with same name

未关闭
#3,823 5 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

navigation upstream
主要语言
TypeScript
星标
2.3k
派生
547
平均合并
20 小时 1 分钟
30 天内合并 PR
11

描述

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
  1. Clone https://github.com/eclipse-jdtls/eclipse.jdt.ls
  2. Go to JavaClientConnection.java
  3. Navigate to sendActionableNotification of the interface JavaLanguageClient line 59
  4. Try to Go To Implementations, it will point to method in wrapper class JavaClientConnection line 159, however the JavaClientConnection does not implement JavaLanguageClient

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 JavaClientConnection.java 和 JavaLanguageClient 接口开始,重点关注 sendActionableNotification 以及复现步骤中描述的 Go To Implementations 行为。将报告的结果与实际的接口实现关系进行比较;当 JavaClientConnection 未实现 JavaLanguageClient 时,导航不再选择 JavaClientConnection 中的同名方法,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, typescript, vscode
领域
developer-experience, tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。