When using Code Completion, you can accept the currently highlighted selection in the popup list by pressing &shortcut:EditorChooseLookupItemReplace;.

Unlike accepting with &shortcut:EditorChooseLookupItem;, the selected name will overwrite the rest of the name to the right of the caret. This can be especially useful for replacing one method or variable name with another.