May 24, 2021 Eclipse
We often need to modify class names in project development, but if other classes depend on that class, we need to spend a lot of time modifying class names.
But eclipse refactoring automatically detects class dependencies and modifies class names, saving us a lot of time.
You can open the refactoring menu in the following ways:
In the following image, we selected the HelloWorld class in the Java editor:
After selecting Rename, you are prompted to enter a new class name and press Enter to end the modification:
When the modification is complete and the enter key is pressed, the class that will be modified will pop up:
You can just click the Continue button to get the job done.