eclipse-platform / .github

Common contribution content for eclipse-platform repositories
https://www.eclipse.org/eclipse/
5 stars 10 forks source link

Typing text will remove next variable #100

Closed andreasdc closed 1 year ago

andreasdc commented 1 year ago

When you have for example if (object.var) and you want to type newobject. before the object, it will remove "object" text.

merks commented 1 year ago

The part it's about to replace turns yellow when you do this right?

I think this is controlled by Window -> Preferences -> Java -> Editor -> Content Assist Insertion option Completion inserts versus Completion Overwrites.

Which setting do you have and have you tried the other setting?

andreasdc commented 1 year ago

Yes it turns yellow. I had overwrites option. The other one works perfect I think, thank you! ❤️

merks commented 1 year ago

Yes, I'm not a big fan of the writing behavior.