You can use the Rename quick action to rename a variable, a section or paragraph name, or an identifier in a file or in the entire solution:
The light bulb icon () appears in the margin on the line that has the identifier which you have edited.