Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Little Template MakerNew to Visual Studio Code? Get it now.
Little Template Maker

Little Template Maker

Joel Sandén

|
39 installs
| (0) | Free
Add templates to your workspace and let the little template maker do the rest.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Little Template Maker

Hi! I'm Joel and I got tired of creating the same file structure everytime I made a new component. To solve that hassle I made the Little Template Maker. Your lean mean templating machine.

Make it happen

  1. Hit Cmd+P and write "Little Template Maker".
  2. Pick your template and follow the guide.

Guide

Steps

  1. Pick a template
  2. Pick an existing folder
  3. Optionally add the name of a new child folder to add the template into
  4. Loop thru template variables and assign them
  5. 💃🕺🍦 Enjoy your new files

Create templates

When you run the command the first time it creates a /.templates folder in your project. Within that folder you build your template with .handlebars files.

Some ground rules

  1. Each template must be a child directory of /.templates
  2. Use Handlebars syntax for creating variables, like so "{{allYourBaseAreBelongsToUs}}"
  3. Within a template you can use folders, files, all the good stuff.
  4. The Little Template Maker will strip all .handlebars files of their extension. If you want your generated file to be named Component.tsx the template filename should be Component.tsx.handlebars.

More good stuff

🚀🚀🚀 Check out my other components: https://marketplace.visualstudio.com/publishers/se-joelsanden

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft