swap code completion keys?

The behaviour suggested here is the opposite compared to what I expect/am used to (I want tab to insert and enter to replace). Is it possible to swap these? I can't find anything in the keymap for this. I'm forever overwriting stuff I want to keep and it's really annoying me!

https://www.jetbrains.com/help/idea/auto-completing-code.html#completion_tips

Accept a suggestion

You can accept a suggestion from the list in one of the following ways:

  • Press Enter or double-click a list item to insert it to the left of the caret.

  • Press Tab to replace the characters to the right from the caret.

  • Use Ctrl+Shift+Enter to make the current code construct syntactically correct (balance parentheses, add missing braces and semicolons, and so on).

1

Please sign in to leave a comment.