- Fix
handlebarsConfig
file not found on Windows
- Fix
handlebarsConfig
file not found even when path is correct
- Fix readme and option description for
engine
- Adds deprecation warning when using legacy templates
- Adds
context
object for Handlebars templates - Improves error reporting slightly
- Adds support for reading file content templates from disk. See the
contentFile
option for files.
- Adds support for configuration of Handlebars (
module-templates.handlebarsConfig
) - Adds error messages for some cases of silent failure
- Adds new casing options for handlebars templates
- Fixes silent crash when
questions
is an empty object - Fixes #12: Makes
files
property on templates optional. - Fixes #21: Moves command lower in the file explorer context menu (should now be visible below "New Folder")
- Adds JSON schema validation for template files ending in
.module-templates.json
.
- Adds merging of templates from user- and workspace settings by allowing for using an object for
module-templates.templates
. Using an array for this config option is now deprecated and will stop working in the next major version. - Overrides the "Enable Preview" user setting to always open files as non-preview
- Adds
open
option to files for automatically opening them after creation. - Adds question
defaultValue
as input placeholder
- Fixes files always being output to the first workspace folder in multi-folder workspaces when running from the command palette.
- Fixes files being output with missing data when the ESC key is pressed.
- Adds support for
handlebars
templates - Adds support for questions with default values
- Adds support for questions with a predefined set of answers
- Adds support for external template files
- Removes warning about missing
name
answer
- Fixes typo in inheritance example
- Adds support for composition / inheritance of templates
- BREAKING: Removes module name question. This must now be provided in
template.questions
instead.
- Adds support for additional prompts
- Adds support for multi-root workspaces
- Adds support for specifying a path in
file.name
in order to create sub folders