You can inline a constant or function at the caret by pressing &shortcut:Inline; (Refactor | Inline). The IDE will update all references of the constant and replace them with the value.