PyCharm 2016.1 Help

Extract Constant Dialog

Refactor | Extract Constant
Ctrl+Alt+C

ItemDescription
NameSpecify the name of the new constant.
Replace all occurrencesSelect this check box to automatically replace all the occurrences of the selected expression (if the selected expression is found more than once in the method).

See Also

Procedures:

Last modified: 20 April 2016