redhat-developer / redhat-developer/vscode-java
Feature Request: Add option to not include references in test classes
未关闭
还没有人认领这个 Issue。
navigation
ux
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
未指定文件或测试。首先定位 VS Code 扩展中的 Java Code Lens 和类引用处理,然后比较提议的过滤选项、切换命令以及分别用于生产和测试的链接。完成的标准应是选择并记录一种用于排除或区分来自测试类的引用的具体行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- developer-experience, tooling
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100