WebStorm 2017.2 Help

Extract Constant Dialog

Refactor | Extract Constant

NameIn this text box, specify the name of the new constant.
Replace all occurrencesSelect this check box to have WebStorm automatically replace all the occurrences of the selected expression (if the selected expression is found more than once in the method).
Last modified: 29 November 2017

See Also