Refactor | Extract | Parameter
Ctrl+Alt+P

Specify the settings for extracting a parameter.

ItemDescription
Name Specify the name for the new parameter.
Replace all occurrencesSelect this option to replace all the occurrences of the selected expression within the method.

See Also

Procedures:

Web Resources: