void (@NotNull SearchableOptionProcessor processor) { Set<String> processedGroups = new HashSet<>(); for (TemplateImpl template : TemplateSettings.getInstance().getTemplates()) { String groupName = template.getGroupName(); if (processedGroups.add(groupName)) { processor.addOptions(groupName, null, groupName + " live template group", LiveTemplatesConfigurable.ID, null, false); } String key = template.getKey(); String hit = key + " live template"; processor.addOptions(key, null, hit, LiveTemplatesConfigurable.ID, null, false); String description = template.getDescription(); if (description != null) { processor.addOptions(description, null, hit, LiveTemplatesConfigurable.ID, null, false); } } }