Search code examples
javaintellij-ideashortcutkeymapping

Intellij change "first suggested fix" key?


I can't find the KeyMap entry for changing the default AltShiftEnter to apply the first selected fix (in Java code) for a problem in Intellij.

See this screenshot:

enter image description here

I think the combination is too difficult (I'd like to use one hand and max two fingers) and want to change it to Eclipse's Ctrl1

How to change this?


Solution

  • There is related request on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-217465 As a workaround you could put caret on red code, press "Alt+Enter" and select suggestion with arrow keys.