In IntelliJ IDEA, how to select next code completion using Tab?

79 Views Asked by At

By default we use ⬇️ to select next code completion choice, and use Tab to apply that choice. For example, here if we press Down, it will highlight InternalError; if we press Tab, it will apply the Integer completion.

enter image description here

But I'm using Macbook and the Down key is really small, I want to use Tab to select next and simply use Enter to apply, just like I do in vim. How to make this setting?

1

There are 1 best solutions below

0
ODDminus1 On

It might not fit your workflow, but it's a solution I applied.

Under Settings -> Keymap -> Editor Actions you will find keymaps for "Up" and "Down". These can be replaced with whatever you'd like to use instead of arrow keys. I've found that I'm happy with adding command + j/k (or alt + j/k on windows) for down/up to run through the selections.