What is the equivalent of "Alt-Insert" in IntelliJ for Mac OS X?

What is the equivalent of "Alt-Insert" in IntelliJ for Mac OS X?

Many Mac keyboards does not have insert keys, and even when connecting a PC keyboard, the insert key is not functioning.


Solution 1:

The equivalent shortcut is Command+n.

Solution 2:

Funnily enough, ctrl+Enter also works for me.

Solution 3:

you can also use "ctrl + enter"

Solution 4:

It may depend on your keymap. I recommend using the 10.5+ keymap wich is optimized for Mac OS (ie cmd-w is close tab and not incremental select). In that case code generate, which you are referring to, is cmd-n.

Solution 5:

"option + return"

is what worked for me.