Refactor local variable name

For those wondering (like I did) how Nathan managed to change “selectedUnits” list to “SelectedUnits” and then the name also changed where its used - Press F2 and then type the new desired name and press Enter. All usages of the symbol will be renamed, across files. flies away

2 Likes

Fun fact, you can also hold ctrl and double press R to the same effect (I find this is physically faster for me)

1 Like

Privacy & Terms