PyCharm 2018.1 Help

Change Signature Dialog

Refactor | Change Signature

Use the Change Signature dialog to perform the Change Signature refactoring.

ItemKeyboard shortcutDescription
NameUse this field to change the function name.
new Alt+Insert Use this button to add a parameter.
delete Alt+Delete Use this button to delete the selected parameter.
arrowUp arrowDown Alt+Up
Use these buttons to reorder parameters by moving them up or down in the parameter list.
NameSpecify the parameter name.
Default valueSpecify the default parameter value to be added to the function calls. (This is the value to be passed to the function in the function calls.)
Use default value in signatureSelect this checkbox to have the default values included in the function signature.
If this checkbox is not selected, the default values will be included in the function calls.
Signature Preview In this area, the current function signature is shown. (The information in this area is synchronized with the changes you are making to the function signature.)
RefactorClick this button to perform the refactoring right away.
PreviewClick this button to see the expected changes in the Find tool window prior to actually performing the refactoring.
Last modified: 23 July 2018

See Also