Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse - Yellow highlight and substitution of words with autocomplete

I have a problem with Eclipse in Debian Buster.

Every time I activate autocomplete near a word, the same is highlighted in yellow and, if I confirm completion, it is replaced.

eclipse autocomplete and highlight problem

In Windows I didn't have this problem; I believe it is some Eclipse setting but I don't know how to disable it.

Thanks in advance.

like image 609
dems98 Avatar asked Jan 01 '21 12:01

dems98


1 Answers

In Eclipse 2020-12 (4.18) the default behavior for the Java content assist changed from Completion Inserts to Completion Overwrites, which can be configured in Window > Preferences: Java > Editor > Content Assist at the top.

See also my video showing this new default behavior of the content assist and how the old behavior can be restored.

like image 84
howlger Avatar answered Sep 20 '22 10:09

howlger