cleo, thank you for pointing this out.
In VS, the shortcut is by default Ctrl+R,R
. You can change it in Tools/Options -> Keyboard to F2
.
You're right that the context menu "Rename" disappeared starting from VS 2022. We'll try to workaround this issue in the next update.