void (@NotNull final Project project, final AnActionEvent event) { Editor editor = event.getData(CommonDataKeys.EDITOR); if (editor != null) { LogicalPosition logicalPosition = editor.getCaretModel().getLogicalPosition(); ValueLookupManager.getInstance(project). showHint(myHandler, editor, editor.logicalPositionToXY(logicalPosition), null, ValueHintType.MOUSE_CLICK_HINT); } }