how to add shortcut in intellij code example Example 1: intellij change shortcuts File -> Settings... -> Keymap Example 2: intellij insert shortcut alt + insert