Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

"Find / Peek All references" on a base class doesn't find overwritten invocations

オープン
#4,346 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java, typescript

調査の方向性

issue ではファイルもテストも特定されていません。まず、ベースメソッドとオーバーライドメソッドを用いて VS Code Java で参照検索を再現し、その後、参照検索と呼び出し階層のエントリーポイントを調べます。完了条件は、ベースメソッドの検索にオーバーライドの呼び出しが含まれ、一方で下位クラスのメソッドの検索では直接参照の動作が維持されることです。

索引モデルが issue の本文から書いたものです。

説明

enhancement

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.

主要言語
TypeScript
スター
2.3k
フォーク
547
平均マージ
20時間 9分
マージ済み PR(30日)
10

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

redhat-developer/vscode-java のほかの issue

redhat-developer/vscode-java の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。