FileTemplateGroupDescriptor () { FileTemplateGroupDescriptor root = new FileTemplateGroupDescriptor(DevKitBundle.message("module.builder.title"), AllIcons.Nodes.Plugin); FileTemplateGroupDescriptor templatesRoot = new FileTemplateGroupDescriptor(DevKitBundle.message("file.templates"), AllIcons.Nodes.Plugin); templatesRoot.addTemplate(new FileTemplateDescriptor("gradleBasedPlugin.xml", XmlFileType.INSTANCE.getIcon()) { @Override public @NotNull String getDisplayName() { return DevKitBundle.message("module.wizard.gradle.plugin.xml.template.display.name"); } }); templatesRoot.addTemplate(new FileTemplateDescriptor("plugin.xml", XmlFileType.INSTANCE.getIcon())); templatesRoot.addTemplate(new FileTemplateDescriptor("Action.java", JavaFileType.INSTANCE.getIcon())); templatesRoot.addTemplate(new FileTemplateDescriptor("InspectionDescription.html", HtmlFileType.INSTANCE.getIcon())); FileTemplateGroupDescriptor newProjectRoot = new FileTemplateGroupDescriptor(DevKitBundle.message("file.templates.new.plugin"), AllIcons.Nodes.Plugin); newProjectRoot.addTemplate(PLUGIN_XML); newProjectRoot.addTemplate(THEME_PLUGIN_XML); newProjectRoot.addTemplate(THEME_JSON); newProjectRoot.addTemplate(BUILD_GRADLE_KTS); newProjectRoot.addTemplate(SETTINGS_GRADLE_KTS); newProjectRoot.addTemplate(GRADLE_WRAPPER_PROPERTIES); newProjectRoot.addTemplate(GRADLE_PROPERTIES); root.addTemplate(templatesRoot); root.addTemplate(newProjectRoot); return root; }