void (@NotNull AnActionEvent e) { Project project = e.getRequiredData(CommonDataKeys.PROJECT); final FileEditorManager manager = FileEditorManager.getInstance(project); ((FileEditorManagerImpl)manager).openFileInNewWindow(getVirtualFiles(e)[0]); }