PyCharm 3.4.0 Web Help

Refactor | Change Signature

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

Item Keyboard shortcut Description
Name Use this field to change the function name.
Parameters
add Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+Insert or Ctrl+NAlt+InsertCommand N or Control EnterControl N or Control EnterCommand N or Control Enter Use this button to add a parameter.
delete Alt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteCommand DeleteCommand DeleteCommand Delete Use this button to delete the selected parameter.
arrowUp arrowDown Alt+UpAlt+UpAlt+UpAlt+UpAlt+Up or Ctrl+Alt+AAlt+UpCtrl+Alt+UpCtrl+Shift+UpControl UpControl UpControl Alt Up
Alt+DownAlt+DownAlt+DownAlt+DownAlt+Down or Ctrl+Alt+EAlt+DownCtrl+Alt+DownCtrl+Shift+DownControl DownControl DownControl Alt Down
Use these buttons to reorder parameters by moving them up or down in the parameter list.
Name Specify the parameter name.
Default value Specify 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 signature Select this check box to have the default values included in the function signature.
If this check box 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.)
Refactor Click this button to perform the refactoring right away.
Preview Click this button to see the expected changes in the Find tool window prior to actually performing the refactoring.

See Also

Procedures:

Web Resources: