boolean (@NotNull MouseEvent e, int clickCount) { setLookupFocusDegree(LookupFocusDegree.FOCUSED); markSelectionTouched(); if (clickCount == 2){ CommandProcessor.getInstance().executeCommand(myProject, () -> finishLookup(NORMAL_SELECT_CHAR), "", null, myEditor.getDocument()); } return true; }