Can't create a keyboard shortcut for file rename

I created a keyboard shortcut for file rename using the F2 key as shown. When I select a file and hit F2, it has no effect. Also, I don't why I have duplicate entries for Rename file. I have set both of them and hitting F2 does nothing.

0
1 comment

Hi Abdu Bukres,

This is a known issue and it is caused by the incorrect "Rename File" behavior. There are two "Rename File" actions with the same name - one inherited from IDEA and the one, implemented in Rider. The action from IDEA is disabled in Rider, so calling it has no effect.

This behavior will be fixed in RIDER-56872. In the meantime, I suggest unbinding both "Rename File" actions - Rider will use rename refactoring (Refactor->Rename in the keymap) that works on projects/project files.

0

Please sign in to leave a comment.