eclipseautocompletecontent-assistkeystrokes

Disable statement completion on space in Eclipse Content Assist


Is there a way to disable auto-completion feature of Eclipse, which inserts currently selected statement in Java Content Assist when pressing space?

I still want to have such a behavior for enter key (and only for enter).


Solution

  • Since Eclipse 2018-12 (4.10) there is a preference for that:

    In Window > Preferences: Java > Editor > Content Assist check the checkbox Disable insertion triggers except 'Enter'

    See also: