WebStorm 2024.2 Help

Extract Constant Dialog

Item

Description

Name

In this field, specify the name of the new constant.

Replace all occurrences

Select this checkbox 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: 26 May 2024