redhat-developer / redhat-developer/vscode-java
Offer code improvement suggestions
未关闭
还没有人认领这个 Issue。
code action
enhancement
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
I'm trying to migrate from IntelliJ and one of the best features it has is the code improvement suggestions. For example, if I'm using JDK7+ and my code is not using the "diamond operator", it offers me to convert the code to this cleaner version. And it does this for:
- Convert to try-with-resources on JDK7+
- Convert to lambda on JDK8+
And a lot more.
I know this issue is very broad and probably each of theses code refactoring should have its own issue linked to this one. But first I want to check what the core developers think of this.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 未指定文件、测试或入口点,并提出了一系列范围广泛的 Java 重构。首先审查项目现有的代码改进能力以及每项所请求转换的范围;done 应定义为一个或多个分别限定范围的建议,并明确 JDK 版本行为和测试。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- developer-experience, tooling
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 冷清
- 描述清晰度
- 需要澄清
- 新手友好度
- 28/100