0

As described in this question one can have auto complete (Content Assist) appear automatically as you type. There is, however, a problem with this setup.

Eclipse figures it's a good idea to accept the first suggested completion when LOADS of different keys are pressed. Such as space, braces and other stuff you really need to type often without inserting a suggestion.

Any Eclipse wiz out there who knows how to turn this auto insertion off without disabling the suggestions?

Community
  • 1
  • 1
Daniel Schlaug
  • 1,504
  • 1
  • 13
  • 17
  • Since Eclipse 2018-12 (4.10) there is a preference for that: https://stackoverflow.com/a/53872999/6505250 – howlger Dec 20 '18 at 19:54
  • Possible duplicate of [Disable statement completion on space in Eclipse Content Assist](https://stackoverflow.com/questions/18586771/disable-statement-completion-on-space-in-eclipse-content-assist) – howlger Dec 20 '18 at 19:54

2 Answers2

1

Open Window --> Preferences. Type "Content Assist" in the filter, and disable it for your editor (or change activation preferences).

Krease
  • 15,805
  • 8
  • 54
  • 86
0

Go to Window -> Preferences -> Java -> Editor -> Content Assist -> Auto Activation -> Auto activation triggers for Java and type ".abcdefghijklmnopqrstuvwxyz" . You can add or remove any characters, on pressing which the auto-complete menu gets triggered.

In your case make sure that you do not have a whitespace, ( or < included in the Auto activation triggers for Java

KP Singh
  • 348
  • 3
  • 11