vscode-template
vscode-template copied to clipboard
This extension makes file and folder structures easier to reuse by templating them.
Template
This extension makes file and folder structures easier to reuse by templating them.
Installation
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
Usage
When you run the command, the default configuration file and sample templates are automatically created in the current working path.
Palette Commands
- Shorcut: Ctrl + Shift + T
Template: Create New (with rename)
- Shorcut: Ctrl + Alt + T
Template: Create New
Customization Template and Configuration
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.
Make customization template
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.
Configuration Settings
- See the
template.config.jsfile created in the working path.
Contributors β¨
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!