IntelliJ IDEA 2020.1 EAP4: In-place Rename and Change Signature
IntelliJ IDEA 2020.1 EAP was updated today. This update provides an easier and more discoverable way to perform the Rename and Change Signature refactorings.
You no longer need to deal with a cumbersome modal dialog to change the signature of a method or a class. Simply edit the parameters of a class or a method, and then use the new gutter icon or an intention action (Alt+Enter) to review and apply the changes to the class / method declaration and all of its usages:
If you added new parameters, you will be offered to enter default values for them:
Check out the animation below for a better understanding of how the new Rename and Change Signature refactorings can help you update classes and methods:
Similarly, you can now simply change the name of a method or a class, and the IDE will give you a gutter icon that suggests renaming all its usages:
The new feature already works for Java in the newest v2020.1 EAP, and support for Kotlin is coming shortly. Stay tuned!
Check out the full release notes for the list of closed tickets in this EAP build.