IntelliJ IDEA 2016.2 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.

ItemDescription
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 check box.

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.

See Also

Last modified: 23 November 2016