void (@NotNull AnActionEvent e) { Project project = e.getProject(); if (project == null) return; var profile = InspectionProfileManager.getInstance(project).getCurrentProfile(); var allTools = profile.getAllEnabledInspectionTools(project); var loadedTools = ContainerUtil.filter(allTools, t -> t.getTool().isInitialized()); String text = loadedTools.stream() .map(t -> t.getTool().getLanguage() + " " + t.getTool().getShortName()) .collect(Collectors.joining("\n")); LightVirtualFile file = new LightVirtualFile("Inspections.txt", PlainTextFileType.INSTANCE, "All count: " + allTools.size() + "\n" + "Loaded count: " + loadedTools.size() + "\n\n" + text); FileEditorManager fileEditorManager = FileEditorManager.getInstance(project); if (!fileEditorManager.isFileOpen(file)) { fileEditorManager.openEditor(new OpenFileDescriptor(project, file), true); } }