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

MacosIntellij Idea

Macos Problem Overview


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.

Macos Solutions


Solution 1 - Macos

The equivalent shortcut is Command+n.

Solution 2 - Macos

Funnily enough, ctrl+Enter also works for me.

Solution 3 - Macos

you can also use "ctrl + enter"

Solution 4 - Macos

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 - Macos

"option + return"

is what worked for me.

Solution 6 - Macos

It is CTRL+I.
This worked for me

Solution 7 - Macos

In both IntelliJ or Android Studio you can set it to whatever you want. I use an Apple keyboard and a KVM to switch between my Mac and PC. The keyboard doesn't have an insert key so I had to change it to simply the 'Back Quote' which is just below the esc key on my Apple keyboard. From the Main menu go..

File > Settings

then

Keymap > Main menu > Code > Generate..

to edit, right click (or use the green pencil) and select 'Remove existing shortcut' or 'Add another one'. The IDE will warn you if the key or combination of keys are already used.

Solution 8 - Macos

I have Mac and option+return work for me for android studio 4

Solution 9 - Macos

In case of usage NetBeans for calling constructor, use Ctrl+i

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionElazar LeibovichView Question on Stackoverflow
Solution 1 - MacosElazar LeibovichView Answer on Stackoverflow
Solution 2 - MacosHenrique de SousaView Answer on Stackoverflow
Solution 3 - Macosprostý člověkView Answer on Stackoverflow
Solution 4 - MacosmwlView Answer on Stackoverflow
Solution 5 - MacosozmaView Answer on Stackoverflow
Solution 6 - MacosEddieView Answer on Stackoverflow
Solution 7 - Macosmy2centsView Answer on Stackoverflow
Solution 8 - MacosSana EbadiView Answer on Stackoverflow
Solution 9 - MacosmrvladView Answer on Stackoverflow