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

Unlike accepting with the &shortcut:EditorChooseLookupItem; key, 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.