This extension makes file and folder structures easier to reuse by templating them.
Install through VS Code extensions. Search for yongwoo.template
Visual Studio Code Market Place: Template
Can also be installed in VS Code: Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
ext install yongwoo.template
When you run the command, the default configuration file and sample templates are automatically created in the current working path.
- Shorcut: Ctrl + Shift + T
Template: Create New (with rename)
- Shorcut: Ctrl + Alt + T
Template: Create New
The first time you run the command, it will create a .templates
folder and a template.config.js
configuration file containing the default templates in your working path.
Regardless of the framework or file extension, you can create and reuse the desired template in advance.
- Create a template folder in
.template (default path)
and rename it (the folder name will be the template name) - Create a file and folder structure in the your template folder.
- Running the Template command from the Palette command displays the template you just created.
- See the
template.config.js
file created in the working path.
Thanks goes to these wonderful people (emoji key):
JUNG YONG WOO 💻 |
Brian Kim 🐛 💻 |
Arnaud gueras 🤔 🐛 📖 |
Pospyrus 🐛 💻 |
Tobias Hochgürtel 🐛 |
This project follows the all-contributors specification. Contributions of any kind welcome!