redhat-developer / redhat-developer/vscode-java
Bug: A syntax error occurred in renaming a method in the interface
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
[provide a description of the issue]
Environment
Operating System: Windows11
JDK version: 17
Visual Studio Code version: 1.88
Java extension version: 1.29
Steps To Reproduce
- selecting 'methodToRename' in interface I
- Renaming 'methodToRename' to 'equals'
Because the new method name 'equals' is the method in the existing API, it causes a compilation error when applied to refactor the new name
Current Result
Expected Result: A warning should be given that refactoring is not supported.
Additional Informations
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用 Windows 11、JDK 17、VS Code 1.88 和 Java extension 1.29,重现将接口中的 methodToRename 重命名为 equals 的过程。跟踪重命名/重构入口点,并确定现有 API 方法的处理方式;完成标准是该操作发出不支持重构的警告,而不是导致编译错误。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100