redhat-developer / redhat-developer/vscode-java

Feature Request: Add option to not include references in test classes

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

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

navigation ux
主要言語
TypeScript
スター
2.3k
フォーク
546
平均マージ
20時間 1分
マージ済み PR(30日)
11

説明

When using the Java Code Lens, or finding references to a class, many times I am not interested in any references in test classes. It would be nice to have a way to filter or easily differentiate references from test classes.

Some ideas:

  • Provide an option to filter out references from test classes
  • Have a command to be able to quickly toggle the filtering of references from test classes (since this is a setting that would likely be changed frequently based on current work)
  • In Java Code Lens, show 2 separate references links - one showing the references from prod code and one showing references from test code

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

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

はじめの一歩

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

調査の方向性

ファイルやテストは指定されていません。まず VS Code 拡張機能内の Java Code Lens とクラス参照の処理箇所を特定し、次に提案されているフィルタリングオプション、トグルコマンド、本番用とテスト用に分けたリンクを比較します。完了の条件は、テストクラスからの参照を除外するか区別するための具体的な動作を 1 つ選択し、文書化することです。

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

評価

技術スタック
java, typescript, vscode
領域
developer-experience, tooling
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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