Change Signature Dialog
The Change Signature refactoring combines several different modifications that can be applied to a Function signature. You can use this refactoring for the following purposes:
To change the Function name.
To change the Function return type.
To add new parameters and remove the existing ones.
To reorder parameters.
When changing a Function signature, CLion searches for all usages of the Function and updates all the calls, implementations, and override replacements of the Function that can be safely modified to reflect the change.
Item | Description |
---|---|
Name | Name of a function, method, or a method specification. |
Parameters | List of parameters in the signature. In the Parameters field, you can perform the following actions with parameters:
|
Result parameters | Returned or result parameters of a Go function. You can specify properties of the new parameter in the corresponding table row (a name, type, and a default value). |