Yes it surely can. Just right click on the variable and pick "Refactor..."
And you'll find other refactoring options as well, e.g. rename, extract...
1 karma · joined September 23, 2020
And you'll find other refactoring options as well, e.g. rename, extract...