Refactor | Introduce Field
Ctrl+Alt+F

ItemDescription
Field of type/NameSpecify the type and name for the new field.
Initialize inIn this area select where the new field will be initialized.
Replace all occurrencesSelect this check box to have PyCharm automatically replace all the occurrences of the selected expression (if the selected expression is found more than once).

See Also

Procedures:

Web Resources: