redhat-developer / redhat-developer/vscode-java

Bug: Rename method refactoring causes a normal method in a subclass to be converted to a method in an inherited parent class

オープン
#3,706 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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
  1. select 'methodToRename' in ParentClass
  2. Renam 'methodToRename' to 'newMethod'

When the method name in the parent class is the same as the method name in the subclass, the method behavior in the subclass changes, and the method is an ordinary method before the refactoring, and is represented as an inherited method in the parent class after the refactoring.

image

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、Windows 11、JDK 17、VS Code 1.88 の記載された環境を使用し、メソッド名を共有する ParentClass と subclass を用いて、Java extension の rename リファクタリングを再現します。parent のメソッドをリネームしても、subclass のメソッドが通常のメソッドから継承メソッドに変わらないことを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, typescript
領域
developer-experience, tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。