redhat-developer / redhat-developer/vscode-java
offer to import explicit class reference when anywhere on the class name
未关闭
还没有人认领这个 Issue。
code action
enhancement
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
lets say you have java.util.stream.Stream.concat(...) then please provide quick fix on "Stream" or even anywhere on the class name to turn it into:
import java.util.stream.Stream;
...
Stream.concat(...);
today you can only get quick fix offered if you are on the "concat" method name.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用 java.util.stream.Stream.concat(...) 重现 VS Code Java extension 中的 quick-fix 行为,检查类名和方法名上的当前结果。跟踪负责未解析 import 的 quick-fix 入口点;完成标准是:从 Stream 上的任何位置都提供相同的 import 建议,并生成所示的 import 和缩短后的调用。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript
- 领域
- tooling
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100