redhat-developer / redhat-developer/vscode-java
"Find / Peek All references" on a base class doesn't find overwritten invocations
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
When I search for all invocations / references on a method, I would expect that also the invocations will be found if the method was overwritten by another class. These are correct references on this method. But these references are missing in the results, which can lead to missing circumstances.
The other direction, if I search for references for the method on the lower class which overwrites, I see also only the direct invocations, which is correct in this case in my impression (but should also include all invocations of overwrites of this class of course).
The only workaround I found is the call hierarchy, but it is hard to pick all the references out of this representation.
I am not sure if it is a bug, so I marked it as feature request.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
issue 中没有标识出文件或测试。首先使用一个基类方法和一个重写方法,在 VS Code Java 中复现引用搜索,然后检查引用搜索和调用层次结构的入口点。完成的标准是:搜索基类方法时包含对重写方法的调用,而搜索下层类的方法时保留其直接引用行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript
- 领域
- developer-experience, search
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100