WebStorm 9.0.2 Web 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 WebStorm.
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: 11 December 2014
comments powered by Disqus