IntelliJ IDEA
 
Get IntelliJ IDEA

Change Signature for Scala

Last modified: 11 February 2024

Use this dialog to perform the Change Signature refactoring.

Use the available controls to make changes to the method signature. Specify how the method calls should be handled.

Click Refactor to perform the refactoring right away. Click Preview to see the potential changes in the Find tool window prior to the actual refactoring.

In the area where parameters are specified, you can add new ones, edit, reorder or delete the existing ones. The refactoring will distribute your changes accordingly.

To start editing a parameter, click it. Alternatively, use the 0 and 0 arrow keys to navigate to the parameter of interest and Enter to start modifying it.