redhat-developer / redhat-developer/vscode-java
Add Rename refactoring to quick fix
未关闭
还没有人认领这个 Issue。
code action
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
Right now when I open quickfix (cmd+.) it always suggests "Move..." and in what feels like 95% of the cases it always errors with "this method cannot be moved, since no possible targets have been..".
On the other hand Rename Symbol works and is more often used but by default is on F2 (a key I don't have available majority of the time) - but it is never shown in Quick Fix menu.
I think it would be much better if Rename refactoring was available via Quickfix.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先在 vscode-java 仓库中找到 Quick Fix 入口点和现有的 Rename Symbol 重构。确认 Quick Fix 建议是如何组装的,然后确认 Rename 会通过 cmd+. 出现,同时现有的 F2 重命名行为仍然可用;该 issue 未指定具体的文件或测试。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- developer-experience, tooling
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100