Skip to content
Mikhail edited this page May 28, 2021 · 10 revisions

This is a plugin for creating a group of files from templates.

To create an empty template, click on the "Tools" -> "Create New Template" menu item

In the Dialog box enter the name of the template

The plugin will create an empty template at the root of your project.

All templates are stored in the folder "Your project name"/templates

The heart of the template is the Json file Main

Inside it has a structure

Key Value
name Name Template
description Description Template
path Path to Template
param Variables to insert into the template
addFile Files to create

addFile it has a structure

Key Value comment
name Name when creating a file You can use Param in the name
path Additional directories for saving You can use Param in the name. Creates a catalog automatically if it does not exist
fileTemplatePath The name of the template from which the file is created It must be specified with the extension .tm and you can specify the directory where this file is located

Clone this wiki locally