void (@NotNull Project project) { VirtualFile file = LocalFileSystem.getInstance().refreshAndFindFileByNioFile(LoggerFactory.getLogFilePath()); if (file != null) { VfsUtil.markDirtyAndRefresh(true, false, false, file); final FileEditor[] editors = FileEditorManager.getInstance(project).openFile(file, true); if (editors.length > 0 && editors[0] instanceof TextEditor) { scrollToLastIDEStart((TextEditor)editors[0]); } else { PsiNavigationSupport.getInstance().createNavigatable(project, file, -1).navigate(true); } } else { String title = "Cannot find '" + LoggerFactory.getLogFilePath() + "'"; Notifications.Bus.notify(new Notification(Notifications.SYSTEM_MESSAGES_GROUP_ID, title, "", NotificationType.INFORMATION)); } }