CLion 2018.2 Help

Change Signature Dialog

Refactor | Change Signature
Ctrl+F6

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

Change Signature

Item

Description

Name

In this text box, specify the name of the function or method to be generated on the basis of the selected source code.

Return type

In this field, specify the return type of the new function.

Parameters Pane

Item

Description

Type

Specify the type of the added parameter.

Name

Specify the name of the added parameter.

List of parameters

Contains the full parameters list of created function.

Toolbar

Item

Shortcut

Description

icons general add svg

Alt+Insert

Click this button to add a new parameter to the list.

icons general remove svg

Alt+Delete

Click this button to remove the selected parameter from the list.

icons actions previousOccurence svg or icons actions nextOccurence svg 

Alt+Up or Alt+Down

Use these buttons to move the selected parameter up and down in the list.

The order of parameters in the list defines the order in which parameters appear in the function signature.

Last modified: 27 November 2018