Skip to content

This extension makes file and folder structures easier to reuse by templating them.

License

Notifications You must be signed in to change notification settings

Pospyrus/vscode-template

 
 

Repository files navigation

Template

All Contributors

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.

  1. Create a template folder in .template (default path) and rename it (the folder name will be the template name)
  2. Create a file and folder structure in the your template folder.
  3. Running the Template command from the Palette command displays the template you just created.

Configuration Settings

  • See the template.config.js file created in the working path.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


JUNG YONG WOO

💻

Brian Kim

🐛 💻

Arnaud gueras

🤔 🐛 📖

This project follows the all-contributors specification. Contributions of any kind welcome!

About

This extension makes file and folder structures easier to reuse by templating them.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.3%
  • SCSS 0.7%