IntelliJ IDEA 2018.3 Help

Extract Parameter Dialog for ActionScript

Refactor | Extract | Parameter
Ctrl+Alt+P


Use this dialog to specify the options and settings related to the Extract Parameter refactoring in ActionScript.

Item

Description

Type

Specify the type of the new parameter. Usually, you don't need to change the type suggested by IntelliJ IDEA.

Name

Specify the name for the new parameter.

Value

The expression to be replaced with the new parameter. Initially, this field contains the expression that you have selected. Normally, this initial value does not need to be changed.

Optional parameter

If you want the new parameter to be an optional parameter, select this checkbox.

For information about required and optional parameters, see the discussion of function parameters in Flex/ActionScript documentation.

Replace all occurrences

Select this option to replace all the occurrences of the selected expression within the function.

Last modified: 19 December 2018

See Also