When using Code Completion, you can select the first item with &shortcut:EditorChooseLookupItemDot;.

DataGrip will insert the selected item followed by a dot or -> depending on the current context .