void (@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file) { TemplateManager templateManager = TemplateManager.getInstance(project); Template template = TemplateSettings.getInstance().getTemplateById("shell_for"); if (template == null) return; moveAtNewLineIfNeeded(editor); templateManager.startTemplate(editor, template); }