PyCharm 2018.3 Help

Change Signature Dialog

Refactor | Change Signature
Ctrl+F6

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

icons general add svg

Alt+Insert

Use this button to add a parameter.

icons general remove svg

Alt+Delete

Use this button to delete the selected parameter.

icons actions previousOccurence svg icons actions nextOccurence svg

Alt+Up
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 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.)

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.

Last modified: 14 December 2018

See Also

Procedures: