redhat-developer / redhat-developer/vscode-java
Bug: A syntax error occurred in renaming a method in the interface
オープン
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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