Generate files/folders based on templates.
What's new in 0.6.0
Add the filed
allowExistingFolder to template config.
allowExistingFolder is set to
true, when trying to create a directory that is already existing, the existing directory will just be used.
If set to
false or not configured, when trying to create a existing directory, a
FileAlreadyExistsError will be thrown.
Template describes the shape of the file content as well as the folder structure.
Destination folder path can be specified via right-click context or active editor, and be modified in user input interface.
Folders that do not exist can be cerated recursively.
Allow variables in file content as well as file/folder names.
Support multiple identifier styles.
Globally and template-level configuration of file encoding.
Globally and template-level configuration of file ignorance list (glob pattern).
Template-level configuration of processing mode for already existing directories.
template: Edit Templates
Open the templates folder in a new window.
template: Reload Templates
Remember to call this command to update templates metadata cached in memory after editing templates config files,
adding new templates or deleting existing templates.
template: New File / Folder From Template
To select a template and generate codes based on it.
command palette and input a command.
Right click code area of the active editor and pick a command from the popup menu.
Right click file/folder names or space area of the explorer window and pick a command from the popup menu.
Loading More data ...