What is the keymap action name for "Finish rename"?
Answered
Hi!
I'm using IntelliJ Ultimate 2020.1 on macOS Catalina. I recently added "Enter" to an action. Then I made the mistake to select "Remove from all other actions". That removed the "Enter" key from a lot of places and partially broke IntelliJ.
I got the "Enter" key back, except for finishing a rename. When I rename something and press "Enter", I literally get a new line in the name - which is not what I want. I want "Enter" to finish the renaming. But I can't find the action in "Preferences - Keymap" where I need to add "Enter" as a keyboard shortcut.
What is the keymap action name for "Finish rename"?
Regards,
Karsten Silz
Please sign in to leave a comment.
Here is the default macOS keymap for enter:
https://i.imgur.com/278DHgF.png
Do you have something missing in your settings?
By the way, you can always choose to use default keymap (it is bold in the list: https://i.imgur.com/5e3npjK.png)
Thank you! I missed about half of them. For the refactoring, the aptly named "Next Template Variable or Finish In-Place Refactoring" is responsible for finishing a rename.
I duplicated the default keymap settings and saved them under a different name. I guess I could have seen this myself by switching back to the default one and then searching for all the items that use "Enter". I assume that's what you did. Correct?
Yes, exactly.
Good to know. Thanks again!