In Java Spring Boot using IntelliJ, how do I refactor existing class usages to a different class? I don't want to rename an existing class, but migrate to a new class. For example, change Fruit
to Automobile
class,
This reference does not help, https://www.jetbrains.com/help/idea/rename-refactorings.html#rename_class_example
CodePudding user response:
On the toolbar:
Edit
-> Find
-> Replace in Files...
CodePudding user response:
You can try to you "Type migration" refactoring, see this