Tab instead of Enter to autocomplete?

I’ve used autocomplete in VSCode and my terminal before this. In the latter, I’ve disabled Enter for autocompletion since it’s important to me to enter a linefeed in the midst of typing, and isn’t important to be able to put a tabulation in the middle of a line. In the former, Enter already doesn’t autocomplete.

In Open- and LibreOffice Writer, though, pressing Tab when a completion is active places a tabulation in the middle of the line, and pressing Enter accepts the completion. I want to switch this behaviour for parity reasons. Is there a way to do so in either application?