How to use:
Partials are automatically discovered and given names based off of the workspace folder root. So if these are the subfolders of the folder you've opened in VS Code:
Then the two partials will be registered as
As an example, a typical helper file could look like this:
And could be used like this inside your Handlebars template to properly cast the
Changes to Handlebars templates applied in real-time. Included partials need to be saved in order for the change to take effect.
Generate context file from template
Right-click on a handlebars file in the sidebar or on the editor tab and select Handlebars: Generate context file.
A new file named
Report an issue
Found a problem or have a feature request? Please post an issue over at our GitHub repository:
📍 Override naming of partials using workspace-configuration
See https://github.com/johnknoop/vscode-handlebars-preview/milestone/1 for more details