void (@NotNull AnActionEvent e) { Project project = getEventProject(e); VirtualFile file = e.getData(CommonDataKeys.VIRTUAL_FILE); if (project != null && underSymlink(file)) { VirtualFile target = file.getCanonicalFile(); PsiFileSystemItem psiFile = PsiUtilCore.findFileSystemItem(project, target); if (LOG.isDebugEnabled()) LOG.debug(file + " -> " + target + " (" + psiFile + ")"); if (psiFile != null) { ProjectView.getInstance(project).select(psiFile, target, false); } } }